StatePrimitiveExecution
"Primitive Execution": applies the outcome of one Solve.Response produced by a primitive (see StatePrimitiveSelection) to the branch's context -- a successful response's side effects and substitution are merged in and resolution continues with StateGoalSelection on the remaining goals; a failed response (Solution.No) ends this branch as a failure; a halting response, or an uncaught ResolutionException thrown while computing it, moves to StateException.
Properties
The execution context this state operates on.
Whether this state is a terminal one for the current branch, i.e. an EndState.
Functions
This state as an EndState, or null if isEndState is false.
This state as an EndState.
Computes every state this branch may transition into from here, one per alternative (matching clause, disjunct, primitive solution, ...) available at this point; empty only for EndStates. Each element is meant to be explored independently (and, in :solve-concurrent's solver, concurrently) of the others.