Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- arc(a, b).
- arc(c, b).
- arc(a, c).
- arc(c, a).
- arc(c, d).
- node(a).
- node(b).
- node(c).
- node(d).
- conn(A, B) :- arc(A, B), node(A), node(B).
- conn(A, B) :- arc(A, C), conn(C, B), node(A), node(B), node(C).
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement