Package org.jacop.constraints
Class ProfileConditional
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ProfileItemCondition>
-
- org.jacop.constraints.ProfileConditional
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<ProfileItemCondition>,java.util.Collection<ProfileItemCondition>,java.util.List<ProfileItemCondition>,java.util.RandomAccess
- Direct Known Subclasses:
DisjointConditionalProfile
class ProfileConditional extends java.util.ArrayList<ProfileItemCondition>
Defines a basic data structure to keep the profile for the disjointConditonal/2- Version:
- 4.8
-
-
Field Summary
Fields Modifier and Type Field Description (package private) intMaxProfileprivate static longserialVersionUID(package private) static booleantrace
-
Constructor Summary
Constructors Constructor Description ProfileConditional()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidaddToProfile(int index, int a, int b, int val, ExclusiveList exList)(package private) intmax()java.lang.StringtoString()-
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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
trace
static final boolean trace
- See Also:
- Constant Field Values
-
MaxProfile
int MaxProfile
-
-
Method Detail
-
addToProfile
void addToProfile(int index, int a, int b, int val, ExclusiveList exList)
-
max
int max()
-
toString
public java.lang.String toString()
- Overrides:
toStringin classjava.util.AbstractCollection<ProfileItemCondition>
-
-