public class NotInScopeOfModalityFeature extends BinaryFeature
Modifier and Type | Field and Description |
---|---|
static Feature |
INSTANCE |
TOP_COST, ZERO_COST
Modifier | Constructor and Description |
---|---|
private |
NotInScopeOfModalityFeature() |
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 ) |
private boolean |
inScopeOfModality(PosInOccurrence pos) |
computeCost
public static final Feature INSTANCE
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 appliedprivate boolean inScopeOfModality(PosInOccurrence pos)