Package org.jacop.constraints.cumulative
Class ProfileOptional
java.lang.Object
org.jacop.constraints.cumulative.ProfileOptional
-
Nested Class Summary
Nested Classes -
Field Summary
FieldsModifier and TypeFieldDescription(package private) boolean
(package private) boolean
private Comparator
<ProfileOptional.Event> (package private) boolean
private final IntVar
It specifies the limit of the profile of cumulative use of resources.private static final int
private static final int
private static final int
(package private) List
<ProfileOptional.Event> -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescription(package private) TaskView[]
filterOptionalTasks
(TaskView[] ts, IntVar[] opt) (package private) int
minStartOpt
(TaskView[] ts, IntVar[] opt) (package private) void
(package private) void
sweepPruning
(Store store, TaskView[] tn, IntVar[] opt) toString()
(package private) void
updateTasksRes
(Store store, TaskView[] ts)
-
Field Details
-
debugNarr
boolean debugNarr -
debug
boolean debug -
eventComparator
-
limit
It specifies the limit of the profile of cumulative use of resources. -
utilizationProfile
List<ProfileOptional.Event> utilizationProfile -
existsOpt
boolean existsOpt -
profile
private static final int profile- See Also:
-
pruneStart
private static final int pruneStart- See Also:
-
pruneEnd
private static final int pruneEnd- See Also:
-
-
Constructor Details
-
ProfileOptional
It creates a profile for optional tasks.- Parameters:
limit
- the overall limit of resources which has to be used.
-
-
Method Details