StateRuleExecution
"Rule Execution": pops the first candidate it.unibo.tuprolog.core.Rule from ClassicExecutionContext.rules and unifies its head with the current goal. On success, the rule's body (with the goal's substitution already applied) becomes the new goal stream and the machine moves back to StateGoalSelection; on failure, it moves to StateBacktracking.
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