|
General Details
|
|
Scheme
|
|
Posted 1.8 Year Ago
|
|
227 Views
|
|
Received 0 Ratings
|
|
simple constraint problem solver
Description
Some day i needed to build a constraint solver for my dayjob. So i started out by trying some different approaches. The one i present here is not the one, i finally took, but it's one of the shortest. It's inefficient but a nice piece of code to play around with or build larger systems, that get the backtracking more accurate. One could e.g. implement pruning strategie to get arch-consistency or do some form of intelligent backtracking.
Technical
All you need for this is a working scheme implementation wich provides the amb-operator and some of the convenience-procedures. This was tested and built with chicken-scheme and the amb.egg
Source Code
Comments
| Please login to post comments. |
More "Scheme" Source Codes By This Author
Recently Posted "Scheme" Source Codes
Recently Rated "Scheme" Source Codes
|