public class SeqContainsExecutableCodeFeature extends BinaryFeature
Modifier and Type | Field and Description |
---|---|
static Feature |
PROGRAMS |
static Feature |
PROGRAMS_OR_QUERIES |
private TermFeature |
tf |
TOP_COST, ZERO_COST
Modifier | Constructor and Description |
---|---|
private |
SeqContainsExecutableCodeFeature(boolean considerQueries) |
Modifier and Type | Method and Description |
---|---|
private boolean |
containsExec(java.util.Iterator<SequentFormula> it,
Services services) |
protected boolean |
filter(RuleApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
computeCost
private final TermFeature tf
public static final Feature PROGRAMS
public static final Feature PROGRAMS_OR_QUERIES
private SeqContainsExecutableCodeFeature(boolean considerQueries)
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 containsExec(java.util.Iterator<SequentFormula> it, Services services)