We are currently working on new rules for what content should and shouldn't be allowed on this website, and are looking for feedback! See Esolang:2026 topicality proposal to view and give feedback on the current draft.

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