An Analogy for Prolog Cut.

  • Each node is a town
  • The lines between the nodes represent roads
  • The town I want to reach is past a river
  • Thus, when I pass the river I can place a cut point saying: “Dont backtrack to any branches above this”, as the town will not be at any point above the river.