public class ClausesSmallerThanFeature extends SmallerThanFeature
LiteralsSmallerThanFeature
).Modifier and Type | Class and Description |
---|---|
private class |
ClausesSmallerThanFeature.ClauseCollector |
SmallerThanFeature.Collector
Modifier and Type | Field and Description |
---|---|
private ProjectionToTerm |
left |
private LiteralsSmallerThanFeature |
litComparator |
private QuanEliminationAnalyser |
quanAnalyser |
private ProjectionToTerm |
right |
TOP_COST, ZERO_COST
Modifier | Constructor and Description |
---|---|
private |
ClausesSmallerThanFeature(ProjectionToTerm left,
ProjectionToTerm right,
IntegerLDT numbers) |
Modifier and Type | Method and Description |
---|---|
static Feature |
create(ProjectionToTerm left,
ProjectionToTerm right,
IntegerLDT numbers) |
protected boolean |
filter(TacletApp app,
PosInOccurrence pos,
Goal goal)
Compute whether the result of the feature is zero (
true )
or infinity (false ) |
protected boolean |
lessThan(Term t1,
Term t2,
PosInOccurrence focus,
Goal goal)
this overwrites the method of
SmallerThanFeature |
compare, lessThan
filter
computeCost
private final ProjectionToTerm left
private final ProjectionToTerm right
private final QuanEliminationAnalyser quanAnalyser
private final LiteralsSmallerThanFeature litComparator
private ClausesSmallerThanFeature(ProjectionToTerm left, ProjectionToTerm right, IntegerLDT numbers)
public static Feature create(ProjectionToTerm left, ProjectionToTerm right, IntegerLDT numbers)
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 appliedprotected boolean lessThan(Term t1, Term t2, PosInOccurrence focus, Goal goal)
SmallerThanFeature
lessThan
in class SmallerThanFeature