Package | Description |
---|---|
net.sf.cpsolver.ifs.extension |
IFS Extensions (conflict-based statistics, maintenance of arc
consistency)
|
Modifier and Type | Method and Description |
---|---|
Assignment<T> |
AssignmentSet.getAssignment(T value)
Returns assignment that corresponds to the given value (if it is present
in the set)
|
Modifier and Type | Method and Description |
---|---|
Map<Assignment<T>,List<Assignment<T>>> |
ConflictStatistics.getNoGoods() |
Map<Assignment<T>,List<Assignment<T>>> |
ConflictStatistics.getNoGoods() |
List<Assignment<T>> |
AssignmentSet.getSet()
Returns set of assignments
|
Modifier and Type | Method and Description |
---|---|
void |
AssignmentSet.addAssignment(Assignment<T> assignment)
Adds an assignment
|
int |
Assignment.AssignmentComparator.compare(Assignment<E> a1,
Assignment<E> a2) |
int |
Assignment.AssignmentComparator.compare(Assignment<E> a1,
Assignment<E> a2) |
int |
Assignment.compareTo(long iteration,
Assignment<T> a)
Compare two assignments (their counters)
|
boolean |
AssignmentSet.contains(Assignment<T> assignment)
Returns true if it contains the given assignment
|
Modifier and Type | Method and Description |
---|---|
boolean |
AssignmentSet.contains(Collection<Assignment<T>> assignments)
Returns true if it contains all of the given assignments
|
static <T extends Value<?,T>> |
AssignmentSet.createAssignmentSet(Collection<Assignment<T>> assignments)
Create set of assignments from the list of Assignments, Values or
(assigned) Variables
|
Constructor and Description |
---|
AssignmentSet(Assignment<T>[] assignments) |
Constructor and Description |
---|
AssignmentSet(Collection<Assignment<T>> assignments) |