Package | Description |
---|---|
org.chocosolver.solver.constraints | |
org.chocosolver.solver.constraints.nary.cumulative |
Modifier and Type | Method and Description |
---|---|
default Constraint |
IIntConstraintFactory.cumulative(Task[] tasks,
IntVar[] heights,
IntVar capacity,
boolean incremental,
Cumulative.Filter... filters)
Creates a cumulative constraint: Enforces that at each point in time,
the cumulated height of the set of tasks that overlap that point
does not exceed a given limit.
|
Modifier and Type | Method and Description |
---|---|
static Cumulative.Filter |
Cumulative.Filter.valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Cumulative.Filter[] |
Cumulative.Filter.values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
Constructor and Description |
---|
Cumulative(Task[] tasks,
IntVar[] heights,
IntVar capacity,
boolean graphBased,
Cumulative.Filter... filters)
Cumulative constraint
|
Copyright © 2018. All rights reserved.