OR-Tools  8.2
CumulativeEnergyConstraint

Detailed Description

Definition at line 50 of file cumulative_energy.h.

Public Member Functions

 CumulativeEnergyConstraint (std::vector< AffineExpression > energies, AffineExpression capacity, IntegerTrail *integer_trail, SchedulingConstraintHelper *helper)
 
bool Propagate () final
 
void RegisterWith (GenericLiteralWatcher *watcher)
 
virtual bool IncrementalPropagate (const std::vector< int > &watch_indices)
 

Constructor & Destructor Documentation

◆ CumulativeEnergyConstraint()

CumulativeEnergyConstraint ( std::vector< AffineExpression energies,
AffineExpression  capacity,
IntegerTrail integer_trail,
SchedulingConstraintHelper helper 
)

Definition at line 86 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 105 of file cumulative_energy.cc.

◆ RegisterWith()

void RegisterWith ( GenericLiteralWatcher watcher)

Definition at line 99 of file cumulative_energy.cc.


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