Class Choicepoint.State
- java.lang.Object
-
- com.yahoo.prelude.semantics.engine.Choicepoint.State
-
- Enclosing class:
- Choicepoint
public static final class Choicepoint.State extends Object
The state of this choicepoint
-
-
Constructor Summary
Constructors Constructor Description State(Choicepoint choicepoint, RuleEvaluation evaluation)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description void
backtrack(RuleEvaluation e)
Backtrack to the evaluation state at the point where this choicepoint were instantiatedvoid
backtrackPosition(RuleEvaluation e)
int
getNonreferencedMatchCount()
int
getPosition()
int
getReferencedMatchCount()
void
updateState(RuleEvaluation evaluation)
-
-
-
Constructor Detail
-
State
public State(Choicepoint choicepoint, RuleEvaluation evaluation)
-
-
Method Detail
-
updateState
public void updateState(RuleEvaluation evaluation)
-
backtrack
public void backtrack(RuleEvaluation e)
Backtrack to the evaluation state at the point where this choicepoint were instantiated
-
backtrackPosition
public void backtrackPosition(RuleEvaluation e)
-
getPosition
public int getPosition()
-
getReferencedMatchCount
public int getReferencedMatchCount()
-
getNonreferencedMatchCount
public int getNonreferencedMatchCount()
-
-