public class PlanningTrace extends RecipeTraceInfo implements PatternTraceInfo
The recipe may be an auxiliary node;
see CompiledSubPlan
if it represents the entire SubPlan instead.
RecipeTraceInfo.ParentTraceList
Constructor and Description |
---|
PlanningTrace(SubPlan subPlan,
java.util.List<PVariable> variablesTuple,
ReteNodeRecipe recipe,
java.util.Collection<? extends RecipeTraceInfo> parentRecipeTraces) |
PlanningTrace(SubPlan subPlan,
java.util.List<PVariable> variablesTuple,
ReteNodeRecipe recipe,
RecipeTraceInfo... parentRecipeTraces) |
Modifier and Type | Method and Description |
---|---|
CompiledSubPlan |
cloneFor(SubPlan newSubPlan)
Returns a new clone that reinterprets the same compiled form
as the compiled form of a (potentially different) subPlan.
|
java.lang.String |
getPatternName() |
java.util.Map<PVariable,java.lang.Integer> |
getPosMapping() |
SubPlan |
getSubPlan() |
java.util.List<PVariable> |
getVariablesTuple() |
assignNode, getNode, getParentRecipeTraces, getRecipe, getShadowedRecipe, propagateFromIndexerToSupplierParent, propagateFromStandardNodeToSupplierParent, propagateToIndexerParent, propagateToProductionNodeParentAlso, shadowWithEquivalentRecipe
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
assignNode, getNode, propagateFromIndexerToSupplierParent, propagateFromStandardNodeToSupplierParent, propagateToIndexerParent, propagateToProductionNodeParentAlso
public PlanningTrace(SubPlan subPlan, java.util.List<PVariable> variablesTuple, ReteNodeRecipe recipe, java.util.Collection<? extends RecipeTraceInfo> parentRecipeTraces)
public PlanningTrace(SubPlan subPlan, java.util.List<PVariable> variablesTuple, ReteNodeRecipe recipe, RecipeTraceInfo... parentRecipeTraces)
public SubPlan getSubPlan()
public java.lang.String getPatternName()
getPatternName
in interface PatternTraceInfo
public java.util.List<PVariable> getVariablesTuple()
public java.util.Map<PVariable,java.lang.Integer> getPosMapping()
public CompiledSubPlan cloneFor(SubPlan newSubPlan)
PlanningTrace
to CompiledSubPlan
.