public class TermSmallerThanFeature extends SmallerThanFeature
SmallerThanFeature.Collector
Modifier and Type | Field and Description |
---|---|
private ProjectionToTerm |
left |
private ProjectionToTerm |
right |
TOP_COST, ZERO_COST
Modifier | Constructor and Description |
---|---|
private |
TermSmallerThanFeature(ProjectionToTerm left,
ProjectionToTerm right) |
Modifier and Type | Method and Description |
---|---|
static Feature |
create(ProjectionToTerm left,
ProjectionToTerm right) |
protected boolean |
filter(TacletApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
compare, lessThan, lessThan
filter
computeCost
private final ProjectionToTerm left
private final ProjectionToTerm right
private TermSmallerThanFeature(ProjectionToTerm left, ProjectionToTerm right)
public static Feature create(ProjectionToTerm left, ProjectionToTerm right)
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 applied