![]() |
OR-Tools
9.6
|
Definition at line 507 of file intervals.h.
Public Member Functions | |
| SchedulingDemandHelper (std::vector< AffineExpression > demands, SchedulingConstraintHelper *helper, Model *model) | |
| IntegerValue | DemandMin (int t) const |
| IntegerValue | DemandMax (int t) const |
| bool | DemandIsFixed (int t) const |
| void | AddDemandMinReason (int t) |
| const std::vector< AffineExpression > & | Demands () const |
| ABSL_MUST_USE_RESULT bool | AddLinearizedDemand (int t, LinearConstraintBuilder *builder) const |
| void | CacheAllEnergyValues () |
| IntegerValue | EnergyMin (int t) const |
| IntegerValue | EnergyMax (int t) const |
| bool | EnergyIsQuadratic (int t) const |
| void | AddEnergyMinReason (int t) |
| IntegerValue | EnergyMinInWindow (int t, IntegerValue window_start, IntegerValue window_end) |
| void | AddEnergyMinInWindowReason (int t, IntegerValue window_start, IntegerValue window_end) |
| ABSL_MUST_USE_RESULT bool | DecreaseEnergyMax (int t, IntegerValue value) |
| const std::vector< std::vector< LiteralValueValue > > & | DecomposedEnergies () const |
| void | OverrideLinearizedEnergies (const std::vector< LinearExpression > &energies) |
| void | OverrideDecomposedEnergies (const std::vector< std::vector< LiteralValueValue >> &energies) |
| std::vector< LiteralValueValue > | FilteredDecomposedEnergy (int index) |
| SchedulingDemandHelper | ( | std::vector< AffineExpression > | demands, |
| SchedulingConstraintHelper * | helper, | ||
| Model * | model | ||
| ) |
Definition at line 678 of file intervals.cc.
| void AddDemandMinReason | ( | int | t | ) |
Definition at line 822 of file intervals.cc.
| void AddEnergyMinInWindowReason | ( | int | t, |
| IntegerValue | window_start, | ||
| IntegerValue | window_end | ||
| ) |
Definition at line 924 of file intervals.cc.
| void AddEnergyMinReason | ( | int | t | ) |
Definition at line 830 of file intervals.cc.
| bool AddLinearizedDemand | ( | int | t, |
| LinearConstraintBuilder * | builder | ||
| ) | const |
Definition at line 858 of file intervals.cc.
| void CacheAllEnergyValues | ( | ) |
Definition at line 750 of file intervals.cc.
|
inline |
Definition at line 565 of file intervals.h.
| bool DecreaseEnergyMax | ( | int | t, |
| IntegerValue | value | ||
| ) |
Definition at line 792 of file intervals.cc.
| bool DemandIsFixed | ( | int | t | ) | const |
Definition at line 788 of file intervals.cc.
| IntegerValue DemandMax | ( | int | t | ) | const |
Definition at line 783 of file intervals.cc.
| IntegerValue DemandMin | ( | int | t | ) | const |
Definition at line 778 of file intervals.cc.
|
inline |
Definition at line 521 of file intervals.h.
|
inline |
Definition at line 546 of file intervals.h.
|
inline |
Definition at line 545 of file intervals.h.
|
inline |
Definition at line 544 of file intervals.h.
| IntegerValue EnergyMinInWindow | ( | int | t, |
| IntegerValue | window_start, | ||
| IntegerValue | window_end | ||
| ) |
Definition at line 914 of file intervals.cc.
| std::vector< LiteralValueValue > FilteredDecomposedEnergy | ( | int | index | ) |
Definition at line 891 of file intervals.cc.
| void OverrideDecomposedEnergies | ( | const std::vector< std::vector< LiteralValueValue >> & | energies | ) |
Definition at line 908 of file intervals.cc.
| void OverrideLinearizedEnergies | ( | const std::vector< LinearExpression > & | energies | ) |
Definition at line 876 of file intervals.cc.