
1.4. FD Constraints 9
• /cflpfd
This command is necessary to see important information about constraint solving.
Below we show an example.
TOY(FD)>domain [X] 1 3
yes
Elapsed time: 50 ms.
more solutions (y/n/d) [y]?
no.
Elapsed time: 0 ms.
TOY(FD)>/cflpfd. %% output activated
TOY(FD)>domain [X] 1 3
yes
X in 1..3 %% Information about X in the cnstraint store
Elapsed time: 0 ms.
more solutions (y/n/d) [y]?
no.
Elapsed time: 0 ms.
TOY(FD)>
1.4 FD Constraints
1.4.1 Predefined Data Types
In TOY(FD), we have defined a set of predefined datatypes that are used to define the
constraints. Table 1.1 shows the set of these datatypes.
Table 1.1: Predefined Datatypes for FD Constraints
data labelType = ff | ffc | leftmost | mini | maxi | step | enum | bisect | up
| down | all | toMinimize int | toMaximize int | assumptions int
data statistics = resumptions | entailments | prunings | backtracks
| constraints
data reasoning = value | domains | range
data options = on reasoning | complete bool
data typeprecedence = d (int,int,int)
data newOptions = precedences [typeprecedence] | path consistency bool
| static sets bool | edge finder bool | decomposition bool
Comentários a estes Manuais