public class BinarySumTermFeature extends java.lang.Object implements TermFeature
SumFeature
)Modifier and Type | Field and Description |
---|---|
private TermFeature |
f0 |
private TermFeature |
f1 |
Modifier | Constructor and Description |
---|---|
private |
BinarySumTermFeature(TermFeature f0,
TermFeature f1) |
Modifier and Type | Method and Description |
---|---|
RuleAppCost |
compute(Term term,
Services services) |
static TermFeature |
createSum(TermFeature f0,
TermFeature f1) |
private final TermFeature f0
private final TermFeature f1
private BinarySumTermFeature(TermFeature f0, TermFeature f1)
public RuleAppCost compute(Term term, Services services)
compute
in interface TermFeature
public static TermFeature createSum(TermFeature f0, TermFeature f1)