Re: Non dominating queens problem
- From: Jens Kilian <jjk@xxxxxxx>
- Date: 26 Apr 2005 18:25:33 +0200
"TS" <chewthiamsoon@xxxxxxxxx> writes:
> for the first solution, what do you input in the query?
>
> for the 2nd solution, i input queensp(2,Qs), but it fails at
> gen_listp(N,Qs)... what could be the problem here? did i input wrongly?
It's a purely logical program, using the symbolic representation of natural
numbers.
?- queensp(s(s(s(s(0)))), Queens).
--
mailto:jjk@xxxxxxx As the air to a bird, or the sea to a fish,
http://www.bawue.de/~jjk/ so is contempt to the contemptible. [Blake]
http://del.icio.us/jjk
.
- Follow-Ups:
- Re: Non dominating queens problem
- From: TS
- Re: Non dominating queens problem
- References:
- Non dominating queens problem
- From: TS
- Re: Non dominating queens problem
- From: Jens Kilian
- Re: Non dominating queens problem
- From: TS
- Non dominating queens problem
- Prev by Date: Re: Repetition cycles
- Next by Date: Re: in praise of tabling
- Previous by thread: Re: Non dominating queens problem
- Next by thread: Re: Non dominating queens problem
- Index(es):
Relevant Pages
|
|