Next: Match all rules
Up: Pattern Matching
Previous: Pattern Matching
In addition, if cost expressions are specified, then the matching process
will proceed as follows:
- Locate all applicable rules. If no such rule exists then exit.
- Compute the cost expressions of all applicable rules.
- Choose the action that has the lowest cost to execute. If
a tie occurs, resolve by the textual order of the rules.
Allen Leung
Mon Apr 7 14:33:55 EDT 1997