public abstract class TopLevelFindFeature extends BinaryTacletAppFeature
Modifier and Type | Class and Description |
---|---|
private static class |
TopLevelFindFeature.TopLevelWithoutUpdate |
private static class |
TopLevelFindFeature.TopLevelWithUpdate |
Modifier and Type | Field and Description |
---|---|
static Feature |
ANTEC |
static Feature |
ANTEC_OR_SUCC |
static Feature |
ANTEC_OR_SUCC_WITH_UPDATE |
static Feature |
ANTEC_WITH_UPDATE |
static Feature |
SUCC |
static Feature |
SUCC_WITH_UPDATE |
TOP_COST, ZERO_COST
Constructor and Description |
---|
TopLevelFindFeature() |
Modifier and Type | Method and Description |
---|---|
protected abstract boolean |
checkPosition(PosInOccurrence pos) |
protected boolean |
filter(TacletApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
filter
computeCost
public static final Feature ANTEC_OR_SUCC
public static final Feature ANTEC
public static final Feature SUCC
public static final Feature ANTEC_OR_SUCC_WITH_UPDATE
public static final Feature ANTEC_WITH_UPDATE
public static final Feature SUCC_WITH_UPDATE
protected boolean filter(TacletApp app, PosInOccurrence pos, Goal goal)
BinaryTacletAppFeature
true
)
or infinity (false
)filter
in class BinaryTacletAppFeature
app
- the TacletApppos
- position where app
is to be appliedgoal
- the goal on which app
is to be appliedprotected abstract boolean checkPosition(PosInOccurrence pos)