public class SortComparisonFeature extends BinaryFeature
Modifier and Type | Field and Description |
---|---|
static int |
SUBSORT |
TOP_COST, ZERO_COST
Modifier and Type | Method and Description |
---|---|
protected boolean |
compare(Sort sort1,
Sort sort2) |
static Feature |
create(ProjectionToTerm s1,
ProjectionToTerm s2,
int cmp) |
protected boolean |
filter(RuleApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
computeCost
public static final int SUBSORT
public static Feature create(ProjectionToTerm s1, ProjectionToTerm s2, int cmp)
protected boolean filter(RuleApp app, PosInOccurrence pos, Goal goal)
BinaryFeature
true
)
or infinity (false
)filter
in class BinaryFeature
app
- the RuleApppos
- position where app
is to be appliedgoal
- the goal on which app
is to be appliedCopyright © 2003-2019 The KeY-Project.