Re: Generating Puzzle Solutions
- From: "John Fletcher" <binding-time@xxxxxxxxx>
- Date: Fri, 24 Jun 2005 21:12:54 +0100
"Ovid" <publiustemp-googlegroups@xxxxxxxxx> wrote in message
news:1119626285.769792.216790@xxxxxxxxxxxxxxxxxxxxxxxxxxxxxxx
> Hi all,
>
<snipped>
> You are presented with 12 balls identical in appearance
> but 1 of the 12 is either heavier or lighter than the
> other 11. Your task is to identify which is the odd ball
> and if it is heavy or light. You are only allowed to
> make 3 weighings using a balance.
>
> He wanted to not see just solutions, but a program that could generate
> all of the solutions. http://perlmonks.com/?node_id=469482
>
<snipped>
> Anyone care to try their hand at a Prolog solution so I can try to
> convert it to AI::Prolog?
>
You could try this: http://www.zen37763.zen.co.uk/counterfeit.html
Regards
.
- References:
- Generating Puzzle Solutions
- From: Ovid
- Generating Puzzle Solutions
- Prev by Date: Re: Generating Puzzle Solutions
- Next by Date: Re: SWI-Prolog distribution questions
- Previous by thread: Re: Generating Puzzle Solutions
- Next by thread: Re: Generating Puzzle Solutions
- Index(es):
Relevant Pages
|
|