org.eigenbase.relopt.hep
Class HepProgram
java.lang.Object
org.eigenbase.relopt.hep.HepProgram
public class HepProgram
- extends Object
HepProgram specifies the order in which rules should be attempted by HepPlanner
. Use HepProgramBuilder
to create a new instance of
HepProgram.
Note that the structure of a program is immutable, but the planner uses it
as read/write during planning, so a program can only be in use by a single
planner at a time.
- Version:
- $Id: //open/dev/farrago/src/org/eigenbase/relopt/hep/HepProgram.java#7 $
- Author:
- John V. Sichi
Method Summary |
(package private) void |
initialize(boolean clearCache)
|
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
MATCH_UNTIL_FIXPOINT
public static final int MATCH_UNTIL_FIXPOINT
- Symbolic constant for matching until no more matches occur.
- See Also:
- Constant Field Values
instructions
final List<HepInstruction> instructions
matchLimit
int matchLimit
matchOrder
HepMatchOrder matchOrder
group
HepInstruction.EndGroup group
HepProgram
HepProgram(List<HepInstruction> instructions)
- Creates a new empty HepProgram. The program has an initial match order of
HepMatchOrder.ARBITRARY
, and an initial
match limit of MATCH_UNTIL_FIXPOINT
.
initialize
void initialize(boolean clearCache)