Einsteins Riddle Prolog

前端 未结 3 2113
情歌与酒
情歌与酒 2020-11-27 08:45

I need some help with a prolog homework for my AI class. The question is to write prolog code for einstein\'s puzzle. I know how to write it down in my own but there are som

3条回答
  •  伪装坚强ぢ
    2020-11-27 08:55

    This puzzle (also know as the Zebra Puzzle) has been discussed many times on Stackoverflow before, see e.g.:

    • Solving "Who owns the Zebra" programmatically?
    • Why cant i get the answer to the zebra puzzle in prolog?
    • Solving logic puzzle in Prolog
    • Einstein's riddle

提交回复
热议问题