public abstract class BinaryTacletAppFeature extends BinaryFeature
Modifier and Type | Field and Description |
---|---|
private boolean |
nonTacletValue |
TOP_COST, ZERO_COST
Modifier | Constructor and Description |
---|---|
protected |
BinaryTacletAppFeature() |
protected |
BinaryTacletAppFeature(boolean p_nonTacletValue) |
Modifier and Type | Method and Description |
---|---|
protected boolean |
filter(RuleApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
protected abstract boolean |
filter(TacletApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
computeCost
protected BinaryTacletAppFeature()
protected BinaryTacletAppFeature(boolean p_nonTacletValue)
p_nonTacletValue
- the value that is to be returned should the feature be applied
to a rule that is not a tacletprotected final 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 appliedprotected abstract boolean filter(TacletApp app, PosInOccurrence pos, Goal goal)
true
)
or infinity (false
)app
- the TacletApppos
- position where app
is to be appliedgoal
- the goal on which app
is to be applied