Playing with Prolog - Train Consists

Lars and I have another one! Playing with Prolog is back with “Train Consists”, a high-concept drama where Annie, as a plucky Prolog programmer, helps Lars arrange his trains using the power of clp(fd)!

the accompanying SWISH page at https://swish.swi-prolog.org/p/pwp_trainconsists.swinb

3 Likes