StateBacktracking
"Backtracking", the central hub of the state machine: if ClassicExecutionContext.choicePoints is empty (or exhausted), moves to StateEnd emitting a negative solution; otherwise it walks the choice-point queue's pathToRoot for the nearest choice point that still has an alternative, restores that saved execution-context lineage (see it.unibo.tuprolog.solve.classic.ChoicePointContext.backtrack), and resumes at either StatePrimitiveExecution or StateRuleExecution, depending on which kind of alternative was pending.
Properties
Link copied to clipboard
The execution context this state operates on.
Link copied to clipboard
Whether this state is a terminal one for the current resolution step, i.e. an EndState.
Functions
Link copied to clipboard
This state as an EndState, or null if isEndState is false.
Link copied to clipboard
This state as an EndState.
Link copied to clipboard