saffron.opt
Class VolcanoPlanner.DeferringRuleCall
java.lang.Object
|
+--saffron.opt.RuleCall
|
+--saffron.opt.VolcanoPlanner.DeferringRuleCall
- Enclosing class:
- VolcanoPlanner
- private static class VolcanoPlanner.DeferringRuleCall
- extends RuleCall
A rule call which defers its actions. Whereas RuleCall
invokes
the rule when it finds a match, a DeferringRuleCall
creates
a RuleMatch
which can be invoked later.
Method Summary |
protected void |
onMatch()
Rather than invoking the rule (as the base method does), creates a
RuleMatch which can be invoked later. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
VolcanoPlanner.DeferringRuleCall
VolcanoPlanner.DeferringRuleCall(Operand operand)
onMatch
protected void onMatch()
- Rather than invoking the rule (as the base method does), creates a
RuleMatch
which can be invoked later.
- Overrides:
onMatch
in class RuleCall