Package org.jacop.constraints
Class ProfileConditional
- All Implemented Interfaces:
Serializable
,Cloneable
,Iterable<ProfileItemCondition>
,Collection<ProfileItemCondition>
,List<ProfileItemCondition>
,RandomAccess
- Direct Known Subclasses:
DisjointConditionalProfile
Defines a basic data structure to keep the profile for the
disjointConditonal/2
- Version:
- 4.9
-
Field Summary
FieldsModifier and TypeFieldDescription(package private) int
private static final long
(package private) static final boolean
Fields inherited from class java.util.AbstractList
modCount
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) void
addToProfile
(int index, int a, int b, int val, ExclusiveList exList) (package private) int
max()
toString()
Methods inherited from class java.util.ArrayList
add, add, addAll, addAll, clear, clone, contains, ensureCapacity, equals, forEach, get, hashCode, indexOf, isEmpty, iterator, lastIndexOf, listIterator, listIterator, remove, remove, removeAll, removeIf, removeRange, replaceAll, retainAll, set, size, sort, spliterator, subList, toArray, toArray, trimToSize
Methods inherited from class java.util.AbstractCollection
containsAll
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
Methods inherited from interface java.util.Collection
parallelStream, stream, toArray
Methods inherited from interface java.util.List
containsAll
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
trace
static final boolean trace- See Also:
-
MaxProfile
int MaxProfile
-
-
Constructor Details
-
ProfileConditional
ProfileConditional()
-
-
Method Details
-
addToProfile
-
max
int max() -
toString
- Overrides:
toString
in classAbstractCollection<ProfileItemCondition>
-