Package org.jacop.constraints
Class DiffnProfile
- java.lang.Object
-
- java.util.AbstractCollection<E>
-
- java.util.AbstractList<E>
-
- java.util.ArrayList<ProfileItem>
-
- org.jacop.constraints.Profile
-
- org.jacop.constraints.DiffnProfile
-
- All Implemented Interfaces:
java.io.Serializable,java.lang.Cloneable,java.lang.Iterable<ProfileItem>,java.util.Collection<ProfileItem>,java.util.List<ProfileItem>,java.util.RandomAccess
class DiffnProfile extends Profile
Defines a basic data structure to keep the profile for the diff2/1 constraints. It consists of ordered pair of time points and the current value.- Version:
- 4.8
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID(package private) static booleantrace-
Fields inherited from class org.jacop.constraints.Profile
cumul, diffn, maxProfileItemHeight, type
-
-
Constructor Summary
Constructors Constructor Description DiffnProfile()
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description (package private) voidmake(int i, int j, Rectangle r, int begin, int end, java.util.List<Rectangle> Rs)intmax()It returns the max height of the profile item encountered in the profile.-
Methods inherited from class org.jacop.constraints.Profile
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
-
-