1.2. The Current Implementation 5
• queens.toy The n-queens problem. Example in the FD.
• scheduling.toy A task scheduling problem.
• eq10.toy and eq20.toy Problem of solving of 10 and 20 linear equations respec-
tively.
• smm.toy A solution to the classical SEND+MORE=MONEY problem.
• alpha.toy A cryptoarithmetic problem.
• circuit1.toy and circuitFD.pl Generating circuits with constraining physical
factors.
• magicseq.toy and lazymagicseq.toy Solutions to the well-known problem of
the magic series. The first one offers a solution based on eager evaluation whereas
the second one offers a solution based on lazy evaluation.
• hamming.toy The problem consists of obtaining the ordered sequence of Ham-
ming codes.
Documentation. The distribution also provides a directory (i.e., docs) that contains
this user manual and a reference to the on-line manual.
1.2.6 Runing TOY(FD)
To run TOY(FD), follow the following process:
• set the environment variable TOYDIR to your working directory;
Essential note: TOY(FD) can be installed on any directory of any drive as long
as the full path of TOYDIR does not contain spaces !!!!
To set environment variables you can follow the following instructions:
(a) In Windows 95/98/ME (TOY(FD) was not tested on these systems!) append
next line to the end of your c:\autoexec.bat using notepad, and then reboot your
computer (assuming that your working directory is C:\SICSTUS382\bin\toyfd):
set TOYDIR=C:\SICSTUS382\bin\toyfd
(b) In Windows 2000 (and also NT and XP, although TOY(FD) was not tested
in these systems), follow the following steps: Open ‘Control Panel’, click the
System icon and the window pops up. Go to the Advanced panel. Click the
Environment Variables button. There are two separated windows showing two
sets of environment variables. Select the ”new” button for the upper window
to create a new environment variable. Select the ”Edit” button for the upper
window to edit an existing environment variable. Probably you need to create
the “TOYDIR” variable, and edit it. The value of “TOYDIR” should be the
directory name, containing no spaces, where you want to put TOY(FD) .
Kommentare zu diesen Handbüchern