congress/examples/recursion
Tim Hinrichs a8778cd4b6 Added top-down evaluation for NonrecursiveRuleTheory
No support for negation or included theories.

All tests pass.

Issue: #
Change-Id: I2a55d13a699ff497833a2fc72f116f8f217f5861
2013-10-11 10:31:20 -07:00

5 lines
74 B
Plaintext

connected(x,y) :- link(x,y)
connected(x,y) :- link(x,z), connected(z,y)