Package | Description |
---|---|
org.jacop.core | |
org.jacop.examples.fd | |
org.jacop.fz |
Modifier and Type | Field and Description |
---|---|
BooleanVar[] |
Store.changeHistory4BooleanVariables
It stores boolean variables as soon as they change (become grounded or
number of constraints being attached is changed).
|
Modifier and Type | Method and Description |
---|---|
boolean |
BooleanVar.eq(BooleanVar var)
It checks if the domains of variables are equal.
|
void |
Store.recordBooleanChange(BooleanVar recordedVariable)
Any boolean variable which is changed must be recorded by store, so it
can be restored to the previous state if backtracking is performed.
|
Modifier and Type | Method and Description |
---|---|
void |
Gates.and(BooleanVar in1,
BooleanVar in2,
BooleanVar out,
BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)
It imposes an extensional constraint enforcing an and relationship
between two input parameters and an output parameter.
|
void |
Gates.not(BooleanVar in,
BooleanVar out,
BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)
It imposes an extensional constraint enforcing an not relationship
between input parameter and an output parameter.
|
void |
Gates.or(BooleanVar in1,
BooleanVar in2,
BooleanVar out,
BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)
It imposes an extensional constraint enforcing an or relationship
between two input parameters and an output parameter.
|
void |
Gates.xor(BooleanVar in1,
BooleanVar in2,
BooleanVar out,
BiFunction<IntVar[],int[][],Constraint> tableConstraintProvider)
It imposes an extensional constraint enforcing an xor relationship
between two input parameters and an output parameter.
|
Modifier and Type | Method and Description |
---|---|
BooleanVar |
Tables.getConstantBoolean(int c) |
Copyright © 2022. All rights reserved.