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