saffron.opt
Class RuleMatch
java.lang.Object
|
+--saffron.opt.RuleCall
|
+--saffron.opt.RuleMatch
- class RuleMatch
- extends RuleCall
A match of a rule to a particular set of target relational expressions,
frozen in time.
- Since:
- Jun 14, 2003
- Version:
- $Id: //open/saffron/src/main/saffron/opt/RuleMatch.java#1 $
- Author:
- jhyde
Constructor Summary |
(package private) |
RuleMatch(Operand operand0,
Rel[] rels)
Creates a RuleMatch . |
targetSet
final RelSet targetSet
targetSubset
RelSubset targetSubset
digest
private final String digest
RuleMatch
RuleMatch(Operand operand0,
Rel[] rels)
- Creates a
RuleMatch
.
- Parameters:
operand0
- Primary operandrels
- List of targets; copied by the constructor, so the client
can modify it later- Pre-condition:
- rels[i] != null
toString
public String toString()
- Overrides:
toString
in class Object
computeDigest
private String computeDigest()
guessSubset
private RelSubset guessSubset()
computeImportance
double computeImportance()