:OR

Purpose

Creates a disjunctive reasoning branch that succeeds if either branch succeeds.

Parameters

path*
Paths to be evaluated.

Examples

  (:OR ((Color MyHouse Green)  (Color NeighborsHouse Yellow))
       ((Color myHouse Yellow) (Color NeighborsHouse Green)))

Success criteria

Succeeds if any of the given paths succeed.

Failure criteria

Fails if all of the given paths fail.

Notes

Related commands


Back to...

Algernon commands
Algernon Documentation Central
Algernon home page