Class PlanningTrace

    • Field Detail

      • subPlan

        protected SubPlan subPlan
      • variablesTuple

        protected java.util.List<PVariable> variablesTuple
      • posMapping

        protected java.util.Map<PVariable,​java.lang.Integer> posMapping
    • Method Detail

      • getSubPlan

        public SubPlan getSubPlan()
      • getVariablesTuple

        public java.util.List<PVariable> getVariablesTuple()
      • getPosMapping

        public java.util.Map<PVariable,​java.lang.Integer> getPosMapping()
      • cloneFor

        public CompiledSubPlan cloneFor​(SubPlan newSubPlan)
        Returns a new clone that reinterprets the same compiled form as the compiled form of a (potentially different) subPlan. Useful e.g. if child plan turns out to be a no-op, or when promoting a PlanningTrace to CompiledSubPlan.