StateEnd
"End": a resumable terminal -- a solution (positive or negative) has just been emitted, but if ClassicExecutionContext.hasOpenAlternatives is true, computeNext loops back into StateBacktracking rather than truly stopping. This is what makes Solver.solve's lazy Sequence of it.unibo.tuprolog.solve.Solutions work: pulling the next item from the sequence is exactly what triggers this transition. Never times out (isTimeout is always false), since it is reached only after a solution has already been produced.
Properties
The execution context this state operates on.
Whether asking for another solution after this one would resume resolution (via backtracking) rather than truly stop.
Whether this state is a terminal one for the current resolution step, i.e. an EndState.
Functions
This state as an EndState, or null if isEndState is false.
This state as an EndState.