Decision shrub

From Esolang
Jump to navigation Jump to search
This article is not detailed enough and needs to be expanded. Please help us by adding some more information.

A decision shrub is a version of a decision tree where each node in the tree-graph must be able to link back to itself.

Example of a decision shrub

           A<--⸜
          / \  |
         /   \  \
    ⸝-->B      C  \
   |   / \    / \  \
   \ /   |   |   \ /
    D    E-->F--->G

Here, all nodes can link back to themselves (paths go down unless specified otherwise).

See also