Changeset 4422
- Timestamp:
- 08/12/08 10:12:00 (5 months ago)
- Location:
- trunk
- Files:
-
- 1 added
- 6 modified
-
examples/constraints/gprolog/alpha.lgt (modified) (1 diff)
-
examples/constraints/gprolog/donald.lgt (added)
-
examples/constraints/gprolog/loader.lgt (modified) (1 diff)
-
examples/constraints/gprolog/NOTES.txt (modified) (1 diff)
-
examples/constraints/gprolog/SCRIPT.txt (modified) (1 diff)
-
examples/searching/NOTES.txt (modified) (1 diff)
-
RELEASE_NOTES.txt (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
trunk/examples/constraints/gprolog/alpha.lgt
r4415 r4422 1 1 2 % code adapted from one of the examples distributed with GNU Prolog 2 % code adapted to Logtalk by Paulo Moura from one of the examples distributed 3 % with GNU Prolog 1.3.0 (August 2008) 3 4 4 5 /*-------------------------------------------------------------------------*/ -
trunk/examples/constraints/gprolog/loader.lgt
r4415 r4422 1 1 2 2 :- initialization( 3 logtalk_load( alpha)).3 logtalk_load([alpha, donald])). -
trunk/examples/constraints/gprolog/NOTES.txt
r4415 r4422 12 12 To load this example and for sample queries, please see the SCRIPT.txt file. 13 13 14 This folder contains a simple example illustrating how to use the Finite 15 Domain Solver included with GNU Prolog with Logtalk. 14 This folder contains two simple examples illustrating how to use the Finite 15 Domain Solver included with GNU Prolog with Logtalk. These examples are 16 adapted, with permission from the original author, Daniel Diaz, from the GNU 17 Prolog 1.3.0 distribution. -
trunk/examples/constraints/gprolog/SCRIPT.txt
r4415 r4422 11 11 12 12 % loading the example runs an initialization query that solves an 13 % alphacipher puzzle :13 % alphacipher puzzle and an crypt-arithmetic puzzle: 14 14 15 15 | ?- logtalk_load(clp_gprolog(loader)). -
trunk/examples/searching/NOTES.txt
r4411 r4422 17 17 file. 18 18 19 Some of the code in this folder is ad opted, with permission, from the book19 Some of the code in this folder is adapted, with permission, from the book 20 20 "Prolog Programming for Artificial Intelligence" by Ivan Bratko. 21 21 -
trunk/RELEASE_NOTES.txt
r4418 r4422 28 28 Added a new set of examples, "constraints", illustrating how to use the 29 29 Constraint Domain Solver libraries available with B-Prolog, GNU Prolog, 30 SWI-Prolog, and YAP. Thanks to Markus Triska for his help with the CLP(FD)31 examples for SWI-Prolog and YAP.30 SWI-Prolog, and YAP. Thanks to Markus Triska for his help with the YAP 31 and SWI-Prolog CLP(FD) examples. 32 32 33 33
