OR-Tools  9.6
CumulativeEnergyConstraint

Detailed Description

Definition at line 49 of file cumulative_energy.h.

Public Member Functions

 CumulativeEnergyConstraint (AffineExpression capacity, SchedulingConstraintHelper *helper, SchedulingDemandHelper *demands, Model *model)
 
bool Propagate () final
 
void RegisterWith (GenericLiteralWatcher *watcher)
 
virtual bool IncrementalPropagate (const std::vector< int > &watch_indices)
 

Constructor & Destructor Documentation

◆ CumulativeEnergyConstraint()

Definition at line 43 of file cumulative_energy.cc.

Member Function Documentation

◆ IncrementalPropagate()

virtual bool IncrementalPropagate ( const std::vector< int > &  watch_indices)
inlinevirtualinherited

◆ Propagate()

bool Propagate ( )
finalvirtual

Implements PropagatorInterface.

Definition at line 61 of file cumulative_energy.cc.

◆ RegisterWith()

void RegisterWith ( GenericLiteralWatcher watcher)

Definition at line 54 of file cumulative_energy.cc.


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