![]() |
OR-Tools
9.6
|
Definition at line 104 of file theta_tree.h.
Public Member Functions | |
| ThetaLambdaTree () | |
| void | Reset (int num_events) |
| void | RecomputeTreeForDelayedOperations () |
| void | AddOrUpdateEvent (int event, IntegerType initial_envelope, IntegerType energy_min, IntegerType energy_max) |
| void | DelayedAddOrUpdateEvent (int event, IntegerType initial_envelope, IntegerType energy_min, IntegerType energy_max) |
| void | AddOrUpdateOptionalEvent (int event, IntegerType initial_envelope_opt, IntegerType energy_max) |
| void | DelayedAddOrUpdateOptionalEvent (int event, IntegerType initial_envelope_opt, IntegerType energy_max) |
| void | RemoveEvent (int event) |
| void | DelayedRemoveEvent (int event) |
| IntegerType | GetEnvelope () const |
| IntegerType | GetOptionalEnvelope () const |
| int | GetMaxEventWithEnvelopeGreaterThan (IntegerType target_envelope) const |
| IntegerType | GetEnvelopeOf (int event) const |
| void | GetEventsWithOptionalEnvelopeGreaterThan (IntegerType target_envelope, int *critical_event, int *optional_event, IntegerType *available_energy) const |
| IntegerType | EnergyMin (int event) const |
Definition at line 26 of file theta_tree.cc.
| void AddOrUpdateEvent | ( | int | event, |
| IntegerType | initial_envelope, | ||
| IntegerType | energy_min, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 112 of file theta_tree.cc.
| void AddOrUpdateOptionalEvent | ( | int | event, |
| IntegerType | initial_envelope_opt, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 125 of file theta_tree.cc.
| void DelayedAddOrUpdateEvent | ( | int | event, |
| IntegerType | initial_envelope, | ||
| IntegerType | energy_min, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 98 of file theta_tree.cc.
| void DelayedAddOrUpdateOptionalEvent | ( | int | event, |
| IntegerType | initial_envelope_opt, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 136 of file theta_tree.cc.
| void DelayedRemoveEvent | ( | int | event | ) |
Definition at line 158 of file theta_tree.cc.
|
inline |
Definition at line 198 of file theta_tree.h.
| IntegerType GetEnvelope |
Definition at line 169 of file theta_tree.cc.
| IntegerType GetEnvelopeOf | ( | int | event | ) | const |
Definition at line 203 of file theta_tree.cc.
| void GetEventsWithOptionalEnvelopeGreaterThan | ( | IntegerType | target_envelope, |
| int * | critical_event, | ||
| int * | optional_event, | ||
| IntegerType * | available_energy | ||
| ) | const |
Definition at line 190 of file theta_tree.cc.
| int GetMaxEventWithEnvelopeGreaterThan | ( | IntegerType | target_envelope | ) | const |
Definition at line 180 of file theta_tree.cc.
| IntegerType GetOptionalEnvelope |
Definition at line 174 of file theta_tree.cc.
| void RecomputeTreeForDelayedOperations |
Definition at line 84 of file theta_tree.cc.
| void RemoveEvent | ( | int | event | ) |
Definition at line 148 of file theta_tree.cc.
| void Reset | ( | int | num_events | ) |
Definition at line 41 of file theta_tree.cc.