public class TrivialMonomialLCRFeature extends BinaryTacletAppFeature
Modifier and Type | Field and Description |
---|---|
private ProjectionToTerm |
a |
private ProjectionToTerm |
b |
TOP_COST, ZERO_COST
Modifier | Constructor and Description |
---|---|
private |
TrivialMonomialLCRFeature(ProjectionToTerm a,
ProjectionToTerm b) |
Modifier and Type | Method and Description |
---|---|
static Feature |
create(ProjectionToTerm a,
ProjectionToTerm b) |
protected boolean |
filter(TacletApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
filter
computeCost
private final ProjectionToTerm a
private final ProjectionToTerm b
private TrivialMonomialLCRFeature(ProjectionToTerm a, ProjectionToTerm b)
public static Feature create(ProjectionToTerm a, ProjectionToTerm b)
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