English version
Accueil     À propos     Téléchargement     Ressources     Contactez-nous    

Ce site est rarement mis à jour. Pour les informations les plus récentes, rendez-vous sur le nouveau site OCaml à l'adresse ocaml.org.

Browse thread
Sudoku solver
[ Home ] [ Index: by date | by threads ]
[ Search: ]

[ Message by date: previous | next ] [ Message in thread: previous | next ] [ Thread: previous | next ]
Date: 2005-11-15 (13:32)
From: Pascal Brisset <pascal.brisset@e...>
Subject: Re: [Caml-list] Sudoku solver
Diego Olivier Fernandez Pons wrote:

>>where search is not included. So it does not solve all the instances:
> It shouldn't be difficult to add a simple search (generate) is it ?

  Yes, just add one line (before printing):
	Goals.solve (Goals.Array.forall Goals.Array.labeling v);