Rule Examples of
Determined Unicursal Paths
These are examples of Rules for Determined Unicursal Path Generation.
RULE #1
A candidate point must exist in the direction that the path is facing.

RULE #2
A candidate point CAN NOT be the exit point IF there are ANY non-exit points in the field that have not yet been entered.

RULE #3
A candidate point CAN NOT be entered more than once.

RULE #4
A candidate point CAN NOT be entered if there are ANY other candidate points that are non-exit points that have only one exit path remaining.

RULE #5
A candidate point CAN NOT be entered if it removes the last exit path to the exit point BEFORE all other non-exit points have been entered.

RULE #6
A candidate point CAN NOT be entered if ALL of the following conditions exist:
- The start point is either an interior or exterior point.
- IF the start point IS NOT an exterior point, this rule may only be disregarded once.
- There are non-entered, non-exit points that are COLLINEAR on the opposing axis to the candidate point.
- The path is blocked in the same direction beyond the candidate point for the following reasons:
- There are no points.
- There is an exit point.
- There is an occupied non-exit point.

RULE #7
A candidate point CAN NOT be entered if ALL of the following conditions exist:
- The candidate point is directly diagonal to, in any direction, a point already entered or an exit point ("opposition point A").
- The candidate point is directly beside, both on the vertical and horizontal axis, to non-entered non-exit points ("opposition points B & C").
- "Opposition Point A" MUST ALSO be beside, both on the vertical and horizontal axis, these same points ("opposition points B & C").

RULE #8