![]() |
OR-Tools
8.2
|
Definition at line 103 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 25 of file theta_tree.cc.
| void AddOrUpdateEvent | ( | int | event, |
| IntegerType | initial_envelope, | ||
| IntegerType | energy_min, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 111 of file theta_tree.cc.
| void AddOrUpdateOptionalEvent | ( | int | event, |
| IntegerType | initial_envelope_opt, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 124 of file theta_tree.cc.
| void DelayedAddOrUpdateEvent | ( | int | event, |
| IntegerType | initial_envelope, | ||
| IntegerType | energy_min, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 97 of file theta_tree.cc.
| void DelayedAddOrUpdateOptionalEvent | ( | int | event, |
| IntegerType | initial_envelope_opt, | ||
| IntegerType | energy_max | ||
| ) |
Definition at line 135 of file theta_tree.cc.
| void DelayedRemoveEvent | ( | int | event | ) |
Definition at line 157 of file theta_tree.cc.
|
inline |
Definition at line 197 of file theta_tree.h.
| IntegerType GetEnvelope |
Definition at line 168 of file theta_tree.cc.
| IntegerType GetEnvelopeOf | ( | int | event | ) | const |
Definition at line 202 of file theta_tree.cc.
| void GetEventsWithOptionalEnvelopeGreaterThan | ( | IntegerType | target_envelope, |
| int * | critical_event, | ||
| int * | optional_event, | ||
| IntegerType * | available_energy | ||
| ) | const |
Definition at line 189 of file theta_tree.cc.
| int GetMaxEventWithEnvelopeGreaterThan | ( | IntegerType | target_envelope | ) | const |
Definition at line 179 of file theta_tree.cc.
| IntegerType GetOptionalEnvelope |
Definition at line 173 of file theta_tree.cc.
| void RecomputeTreeForDelayedOperations |
Definition at line 83 of file theta_tree.cc.
| void RemoveEvent | ( | int | event | ) |
Definition at line 147 of file theta_tree.cc.
| void Reset | ( | int | num_events | ) |
Definition at line 40 of file theta_tree.cc.