| Modifier and Type | Field and Description | 
|---|---|
private Feature | 
allowSplitting  | 
private Feature | 
costFeature  | 
private static RuleAppCost | 
MINUS_3000_COST  | 
private static RuleAppCost | 
ONE_COST  | 
| Modifier | Constructor and Description | 
|---|---|
private  | 
InstantiationCostScalerFeature(Feature costFeature,
                              Feature allowSplitting)  | 
| Modifier and Type | Method and Description | 
|---|---|
RuleAppCost | 
computeCost(RuleApp app,
           PosInOccurrence pos,
           Goal goal)
Evaluate the cost of a  
RuleApp. | 
static Feature | 
create(Feature costFeature,
      Feature allowSplitting)  | 
private final Feature costFeature
private final Feature allowSplitting
private static final RuleAppCost ONE_COST
private static final RuleAppCost MINUS_3000_COST
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).