FRAMES NO FRAMES

Choice Point
PREVIOUS NEXT

The ideas of success and failure are used to express algorithms with choices. Indeed, a goal can be defined as a choice between different goals. Such a goal is called a choice point.

A choice point is created by the execution of the goal IlcOr. A choice point can be labeled when it is created so that you can direct Solver to return to it explicitly.

Here's how a choice point is executed in a depth first search:

Thus a Solver user can define an algorithm without knowing in advance which subgoal will succeed. This kind of programming is often called non-deterministic programming.

See the concept Goal for more information.

See Also

IlcAnd, IlcGoal, IlcGoalI, IlcOr

PREVIOUS NEXT