public abstract class BinaryTermFeature extends java.lang.Object implements TermFeature
| Modifier and Type | Field and Description |
|---|---|
static RuleAppCost |
TOP_COST
Constant that represents the boolean value false
|
static RuleAppCost |
ZERO_COST
Constant that represents the boolean value true
|
| Modifier | Constructor and Description |
|---|---|
protected |
BinaryTermFeature() |
| Modifier and Type | Method and Description |
|---|---|
RuleAppCost |
compute(Term term,
Services services) |
protected abstract boolean |
filter(Term term,
Services services) |
public static final RuleAppCost ZERO_COST
public static final RuleAppCost TOP_COST
public final RuleAppCost compute(Term term, Services services)
compute in interface TermFeature