Primitives
A choice point recording the remaining it.unibo.tuprolog.solve.primitive.Solve.Response alternatives of a primitive call.
Constructors
Properties
Shorthand for executionContext's ClassicExecutionContext.depth, or null if executionContext is null.
Shorthand for executionContext's ClassicExecutionContext.procedure, or null if executionContext is null.
Whether this choice point, or any of its ancestors along pathToRoot, still has an alternative to try.
This choice point and all its ancestors, from here up to (and including) the root, in that order.
Functions
Chains a new ChoicePointContext.Primitives recording alternatives onto this (null meaning "the root").
Chains a new ChoicePointContext.Rules recording alternatives onto this (null meaning "the root").
Resumes this choice point: restores its saved executionContext (carrying over context's current step counter, flags and knowledge bases), advances alternatives to the next one, and returns the resulting ClassicExecutionContext, ready to be handed to it.unibo.tuprolog.solve.classic.fsm.StatePrimitiveExecution or it.unibo.tuprolog.solve.classic.fsm.StateRuleExecution depending on the concrete subtype.
The ChoicePointContext.depth a new choice point chained onto this one (or null, for the root) would have.