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) booleanprivate Comparator<ProfileOptional.Event> (package private) booleanprivate final IntVarIt specifies the limit of the profile of cumulative use of resources.private static final intprivate static final intprivate 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) intminStartOpt(TaskView[] ts, IntVar[] opt) (package private) void(package private) voidsweepPruning(Store store, TaskView[] tn, IntVar[] opt) toString()(package private) voidupdateTasksRes(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