This repository has been archived on 2023-08-20. You can view files and clone it, but cannot push or open issues or pull requests.
yap-6.3/packages/meld/examples/temperature/graph2.meld
2011-05-08 23:10:52 +01:00

16 lines
211 B
Plaintext

root(a).
neighbor(a,b).
neighbor(b,a).
neighbor(a,c).
neighbor(c,a).
neighbor(d,b).
neighbor(b,d).
neighbor(d,c).
neighbor(c,d).
temperature(a, 10).
temperature(b, 12).
temperature(c, 15).
temperature(d, 20).