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

16 lines
211 B
Plaintext
Raw Normal View History

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).