public class ImplicitCastNecessary extends BinaryFeature
| Modifier and Type | Field and Description | 
|---|---|
private ProjectionToTerm | 
projection  | 
TOP_COST, ZERO_COST| Modifier | Constructor and Description | 
|---|---|
private  | 
ImplicitCastNecessary(ProjectionToTerm projection)  | 
| Modifier and Type | Method and Description | 
|---|---|
static Feature | 
create(ProjectionToTerm s1)  | 
protected boolean | 
filter(RuleApp app,
      PosInOccurrence pos,
      Goal goal)
Compute whether the result of the feature is zero ( 
true)
 or infinity (false) | 
computeCostprivate final ProjectionToTerm projection
private ImplicitCastNecessary(ProjectionToTerm projection)
protected boolean filter(RuleApp app, PosInOccurrence pos, Goal goal)
BinaryFeaturetrue)
 or infinity (false)filter in class BinaryFeatureapp - the RuleApppos - position where app is to be appliedgoal - the goal on which app is to be appliedpublic static Feature create(ProjectionToTerm s1)