Uses of Class
com.yahoo.prelude.semantics.engine.RuleEvaluation
Packages that use RuleEvaluation
-
Uses of RuleEvaluation in com.yahoo.prelude.semantics.engine
Methods in com.yahoo.prelude.semantics.engine that return RuleEvaluationModifier and TypeMethodDescriptionEvaluation.freshRuleEvaluation()Returns a fresh rule evaluation starting at the current position of thisMethods in com.yahoo.prelude.semantics.engine with parameters of type RuleEvaluationModifier and TypeMethodDescriptionvoidChoicepoint.State.backtrack(RuleEvaluation e) Backtrack to the evaluation state at the point where this choicepoint were instantiatedvoidChoicepoint.State.backtrackPosition(RuleEvaluation e) abstract booleanNameSpace.matches(String term, RuleEvaluation e) booleanParameterNameSpace.matches(String term, RuleEvaluation e) voidChoicepoint.State.updateState(RuleEvaluation evaluation) Constructors in com.yahoo.prelude.semantics.engine with parameters of type RuleEvaluationModifierConstructorDescriptionChoicepoint(RuleEvaluation e, Condition condition) State(Choicepoint choicepoint, RuleEvaluation evaluation) -
Uses of RuleEvaluation in com.yahoo.prelude.semantics.rule
Methods in com.yahoo.prelude.semantics.rule with parameters of type RuleEvaluationModifier and TypeMethodDescriptionprotected final booleanCompositeCondition.allSubConditionsMatches(RuleEvaluation e) Returns whether all the conditions of this matches the current evaluation statebooleanAndCondition.doesMatch(RuleEvaluation e) booleanChoiceCondition.doesMatch(RuleEvaluation e) protected booleanComparisonCondition.doesMatch(RuleEvaluation evaluation) protected booleanCompositeItemCondition.doesMatch(RuleEvaluation e) protected abstract booleanCondition.doesMatch(RuleEvaluation e) Returns whether this condition matches the given evaluation at the current location of the evaluation.booleanConditionReference.doesMatch(RuleEvaluation e) booleanEllipsisCondition.doesMatch(RuleEvaluation e) protected booleanLiteralCondition.doesMatch(RuleEvaluation e) protected booleanNotCondition.doesMatch(RuleEvaluation e) booleanSequenceCondition.doesMatch(RuleEvaluation e) booleanSuperCondition.doesMatch(RuleEvaluation e) protected booleanTermCondition.doesMatch(RuleEvaluation e) protected StringCondition.getMatchInfo(RuleEvaluation e) Override this to return a string describing what this condition has matched in this evaluation.EllipsisCondition.getMatchInfo(RuleEvaluation e) protected StringCondition.getMatchInfoString(RuleEvaluation e) protected booleanCompositeCondition.hasOpenChoicepoint(RuleEvaluation evaluation) protected booleanCondition.hasOpenChoicepoint(RuleEvaluation e) Returns whether there is an open choice in this or any of its subconditions.protected booleanConditionReference.hasOpenChoicepoint(RuleEvaluation e) protected booleanEllipsisCondition.hasOpenChoicepoint(RuleEvaluation e) protected booleanNotCondition.hasOpenChoicepoint(RuleEvaluation evaluation) protected voidTermProduction.insertMatch(RuleEvaluation e, Match matched, List<Item> newItems, int offset) Inserts newItems at the position of this match TODO: Move to ruleevaluationprotected booleanCondition.labelMatches(TermItem evaluationTerm, RuleEvaluation e) protected booleanCondition.labelMatches(RuleEvaluation e) Whether the label matches the current item, true if there is no current itemfinal booleanCondition.matches(RuleEvaluation e) Returns whether this condition matches the given evaluation at the current location of the evaluation.booleanNamedCondition.matches(RuleEvaluation e) booleanProductionRule.matches(RuleEvaluation e) Returns whether this rule matches the given queryprotected booleanCondition.matchesEndAnchor(RuleEvaluation e) Check start anchor.protected booleanCondition.matchesStartAnchor(RuleEvaluation e) Check start anchor.voidCompositeCondition.postMatchHook(RuleEvaluation e) protected voidCondition.postMatchHook(RuleEvaluation e) Called just before match returns, on any return condition including exceptions.voidCompositeCondition.preMatchHook(RuleEvaluation e) protected voidCondition.preMatchHook(RuleEvaluation e) Called when match is called, before anything else.voidLiteralPhraseProduction.produce(RuleEvaluation e, int offset) voidLiteralTermProduction.produce(RuleEvaluation e, int offset) voidNamespaceProduction.produce(RuleEvaluation e, int offset) abstract voidProduction.produce(RuleEvaluation e, int offset) Produces this at the current matchvoidProductionList.produce(RuleEvaluation e) voidProductionRule.produce(RuleEvaluation e) Carries out the production of this rulevoidReferenceTermProduction.produce(RuleEvaluation e, int ignored) voidReplacingProductionRule.produce(RuleEvaluation e) Carries out the production of this ruleprotected voidComparisonCondition.traceResult(boolean matches, RuleEvaluation e) protected voidComparisonCondition.traceResult(boolean matches, RuleEvaluation e, Object left, Object right) protected voidCondition.traceResult(boolean matches, RuleEvaluation e)