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
|
PropCumulative(IntVar[] s,
IntVar[] d,
IntVar[] e,
IntVar[] h,
IntVar capa,
boolean reactToFineEvt,
Cumulative.Filter... filters)
protected constructor, should not be called by a user
|
PropCumulative(IntVar[] s,
IntVar[] d,
IntVar[] e,
IntVar[] h,
IntVar capa,
Cumulative.Filter... filters)
Classical cumulative propagator
|
PropGraphCumulative(IntVar[] s,
IntVar[] d,
IntVar[] e,
IntVar[] h,
IntVar capa,
boolean fast,
Cumulative.Filter... filters)
Graph-based cumulative propagator:
- only filters over subsets of overlapping tasks
|
Copyright © 2017. All rights reserved.