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,
CumulFilter... 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 | Class and Description |
---|---|
class |
DefaultCumulFilter
Default filtering for cumulative
|
class |
DisjunctiveTaskIntervalFilter |
class |
HeightCumulFilter
Filtering (sweep-based) algorithm to filter task maximum heights
|
class |
NRJCumulFilter
Energy based filtering (greedy)
|
class |
SweepCumulFilter
Basic implementation of Sweep-based Time-Table for cumulative
|
class |
SweepHeiSortCumulFilter
Alternative implementation of Sweep-based Time-Table for cumulative
The set of variables to be pruned is sorted by decreasing heights, not time
|
class |
TimeCumulFilter
Time-based filtering (compute the profile over every point in time)
|
Modifier and Type | Field and Description |
---|---|
protected CumulFilter[] |
PropCumulative.filters |
Modifier and Type | Method and Description |
---|---|
abstract CumulFilter |
Cumulative.Filter.make(int n)
Create an instance of the filtering algorithm
|
Constructor and Description |
---|
Cumulative(Task[] tasks,
IntVar[] heights,
IntVar capacity,
boolean graphBased,
CumulFilter... filters)
Cumulative constraint
|
PropCumulative(IntVar[] s,
IntVar[] d,
IntVar[] e,
IntVar[] h,
IntVar capa,
boolean reactToFineEvt,
CumulFilter... filters)
protected constructor, should not be called by a user
|
PropCumulative(IntVar[] s,
IntVar[] d,
IntVar[] e,
IntVar[] h,
IntVar capa,
CumulFilter... filters)
Classical cumulative propagator
|
PropGraphCumulative(IntVar[] s,
IntVar[] d,
IntVar[] e,
IntVar[] h,
IntVar capa,
boolean fast,
CumulFilter... filters)
Graph-based cumulative propagator:
- only filters over subsets of overlapping tasks
|
Copyright © 2018. All rights reserved.