3 ms·
Definitely! Prolog is extremely well suited for solving such tasks. For example, one of the most highly rated Prolog question on Stackoverflow is about a relat
by zmonx 9y ago
Definitely! Prolog is extremely well suited for solving such tasks.
For example, one of the most highly rated Prolog question on Stackoverflow is about a related task involving Tennis match scheduling:
http://stackoverflow.com/questions/4747498/tennis-match-scheduling http://stackoverflow.com/questions/4747498/tennis-match-sche...
The posted Prolog solution is quite concise and very efficient, thanks to the built-in constraint solvers that most Prolog systems provide nowadays.