Re: How to solve the following ``Liars'' puzzle in prolog?
- From: Joachim Schimpf <j.schimpf@xxxxxxxxxxxxxxx>
- Date: Tue, 28 Mar 2006 14:49:41 GMT
Peter wrote:
jakob wrote:Thanks for the reply.
Also, in case anyone else is wondering, in SWI Prolog I had to use:
:- use_module(library('clp/bounds')).
instead of
:- use_module(library(bounds)).
-jakob
Is there an ECLiPSe library that can be used here?
Sure. Use :- lib(ic), replace ... in ... by ... :: ...,
and all_different/1 by alldifferent/1.
-- Joachim
.
- References:
- How to solve the following ``Liars'' puzzle in prolog?
- From: albert
- Re: How to solve the following ``Liars'' puzzle in prolog?
- From: Bart Demoen
- Re: How to solve the following ``Liars'' puzzle in prolog?
- From: jakob
- Re: How to solve the following ``Liars'' puzzle in prolog?
- From: Markus Triska
- Re: How to solve the following ``Liars'' puzzle in prolog?
- From: jakob
- Re: How to solve the following ``Liars'' puzzle in prolog?
- From: Peter
- How to solve the following ``Liars'' puzzle in prolog?
- Prev by Date: Re: Prolog AI for Game of Go
- Next by Date: Constraint Programming Slides/Book
- Previous by thread: Re: How to solve the following ``Liars'' puzzle in prolog?
- Next by thread: Prolog preprocessor
- Index(es):