Package org.jacop.constraints
Class DisjointConditionalProfile
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ProfileItemCondition>
-
- org.jacop.constraints.ProfileConditional
-
- org.jacop.constraints.DisjointConditionalProfile
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Cloneable
,java.lang.Iterable<ProfileItemCondition>
,java.util.Collection<ProfileItemCondition>
,java.util.List<ProfileItemCondition>
,java.util.RandomAccess
class DisjointConditionalProfile extends ProfileConditional
Defines a basic data structure to keep the profile for the diffn/1 constraints. It consists of ordered pair of time points and the current value.- Version:
- 4.7
-
-
Field Summary
Fields Modifier and Type Field Description private static long
serialVersionUID
(package private) static boolean
trace
-
Fields inherited from class org.jacop.constraints.ProfileConditional
MaxProfile
-
-
Constructor Summary
Constructors Constructor Description DisjointConditionalProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) void
make(int i, int j, Rectangle r, int begin, int end, java.util.List<RectangleWithCondition> Rs, ExclusiveList ExList)
(package private) int
max()
-
Methods inherited from class org.jacop.constraints.ProfileConditional
addToProfile, 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
-
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
trace
static final boolean trace
- See Also:
- Constant Field Values
-
-
Method Detail
-
make
void make(int i, int j, Rectangle r, int begin, int end, java.util.List<RectangleWithCondition> Rs, ExclusiveList ExList)
-
max
int max()
- Overrides:
max
in classProfileConditional
-
-