net.sf.saffron.opt
Class VolcanoRuleMatch
java.lang.Object
|
+--net.sf.saffron.opt.VolcanoRuleCall
|
+--net.sf.saffron.opt.VolcanoRuleMatch
- class VolcanoRuleMatch
- extends VolcanoRuleCall
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/net/sf/saffron/opt/VolcanoRuleMatch.java#3 $
- Author:
- jhyde
targetSet
final RelSet targetSet
targetSubset
RelSubset targetSubset
digest
private final String digest
VolcanoRuleMatch
VolcanoRuleMatch(RuleOperand operand0,
SaffronRel[] rels)
- Creates a
VolcanoRuleMatch
.
- 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
computeImportance
double computeImportance()
computeDigest
private String computeDigest()
guessSubset
private RelSubset guessSubset()