public class HepProgram
extends java.lang.Object
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.
Modifier and Type | Field and Description |
---|---|
(package private) HepInstruction.EndGroup |
group |
(package private) com.google.common.collect.ImmutableList<HepInstruction> |
instructions |
static int |
MATCH_UNTIL_FIXPOINT
Symbolic constant for matching until no more matches occur.
|
(package private) int |
matchLimit |
(package private) HepMatchOrder |
matchOrder |
Constructor and Description |
---|
HepProgram(java.util.List<HepInstruction> instructions)
Creates a new empty HepProgram.
|
Modifier and Type | Method and Description |
---|---|
static HepProgramBuilder |
builder() |
(package private) void |
initialize(boolean clearCache) |
public static final int MATCH_UNTIL_FIXPOINT
final com.google.common.collect.ImmutableList<HepInstruction> instructions
int matchLimit
HepMatchOrder matchOrder
HepInstruction.EndGroup group
HepProgram(java.util.List<HepInstruction> instructions)
HepMatchOrder.DEPTH_FIRST
, and an initial
match limit of MATCH_UNTIL_FIXPOINT
.public static HepProgramBuilder builder()
void initialize(boolean clearCache)
Copyright © 2012–2019 The Apache Software Foundation. All rights reserved.