Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::ThetaLambdaTree< IntegerType > Class Template Reference

Detailed Description

template<typename IntegerType>
class operations_research::ThetaLambdaTree< IntegerType >

Definition at line 93 of file scheduling.h.

#include <scheduling.h>

Public Member Functions

 ThetaLambdaTree ()=default
void Reset (int num_events)
void AddOrUpdateEvent (int event, IntegerType initial_envelope, IntegerType energy_min, IntegerType energy_max)
void AddOrUpdateOptionalEvent (int event, IntegerType initial_envelope_opt, IntegerType energy_max)
void RemoveEvent (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

Constructor & Destructor Documentation

◆ ThetaLambdaTree()

template<typename IntegerType>
operations_research::ThetaLambdaTree< IntegerType >::ThetaLambdaTree ( )
default

Member Function Documentation

◆ AddOrUpdateEvent()

template<typename IntegerType>
void operations_research::ThetaLambdaTree< IntegerType >::AddOrUpdateEvent ( int event,
IntegerType initial_envelope,
IntegerType energy_min,
IntegerType energy_max )
inline

Definition at line 106 of file scheduling.h.

◆ AddOrUpdateOptionalEvent()

template<typename IntegerType>
void operations_research::ThetaLambdaTree< IntegerType >::AddOrUpdateOptionalEvent ( int event,
IntegerType initial_envelope_opt,
IntegerType energy_max )
inline

Definition at line 123 of file scheduling.h.

◆ EnergyMin()

template<typename IntegerType>
IntegerType operations_research::ThetaLambdaTree< IntegerType >::EnergyMin ( int event) const
inline

Definition at line 198 of file scheduling.h.

◆ GetEnvelope()

template<typename IntegerType>
IntegerType operations_research::ThetaLambdaTree< IntegerType >::GetEnvelope ( ) const
inline

Definition at line 146 of file scheduling.h.

◆ GetEnvelopeOf()

template<typename IntegerType>
IntegerType operations_research::ThetaLambdaTree< IntegerType >::GetEnvelopeOf ( int event) const

Definition at line 293 of file scheduling.h.

◆ GetEventsWithOptionalEnvelopeGreaterThan()

template<typename IntegerType>
void operations_research::ThetaLambdaTree< IntegerType >::GetEventsWithOptionalEnvelopeGreaterThan ( IntegerType target_envelope,
int * critical_event,
int * optional_event,
IntegerType * available_energy ) const
inline

Definition at line 186 of file scheduling.h.

◆ GetMaxEventWithEnvelopeGreaterThan()

template<typename IntegerType>
int operations_research::ThetaLambdaTree< IntegerType >::GetMaxEventWithEnvelopeGreaterThan ( IntegerType target_envelope) const
inline

Definition at line 158 of file scheduling.h.

◆ GetOptionalEnvelope()

template<typename IntegerType>
IntegerType operations_research::ThetaLambdaTree< IntegerType >::GetOptionalEnvelope ( ) const
inline

Definition at line 151 of file scheduling.h.

◆ RemoveEvent()

template<typename IntegerType>
void operations_research::ThetaLambdaTree< IntegerType >::RemoveEvent ( int event)
inline

Definition at line 135 of file scheduling.h.

◆ Reset()

template<typename IntegerType>
void operations_research::ThetaLambdaTree< IntegerType >::Reset ( int num_events)

Definition at line 270 of file scheduling.h.


The documentation for this class was generated from the following file: