| Modifier | Constructor and Description | 
|---|---|
private  | 
SumFeature(Feature[] p_features)  | 
| Modifier and Type | Method and Description | 
|---|---|
RuleAppCost | 
computeCost(RuleApp app,
           PosInOccurrence pos,
           Goal goal)
Evaluate the cost of a  
RuleApp. | 
static Feature | 
createSum(Feature... fs)  | 
(package private) static void | 
flatten(Feature[] sumF,
       java.util.LinkedHashSet<Feature> p_features)  | 
java.lang.String | 
toString()  | 
private final Feature[] features
private SumFeature(Feature[] p_features)
public RuleAppCost computeCost(RuleApp app, PosInOccurrence pos, Goal goal)
FeatureRuleApp.computeCost in interface Featureapp - the RuleApppos - position where app is to be appliedgoal - the goal on which app is to be appliedRuleAppCost object. TopRuleAppCost.INSTANCE
 indicates that the rule shall not be applied at all (it is discarded by
 the strategy).public java.lang.String toString()
toString in class java.lang.Object