Google OR-Tools v9.15
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
operations_research::sat::CumulativeEnergyConstraint Class Reference

Detailed Description

Definition at line 60 of file cumulative_energy.h.

#include <cumulative_energy.h>

Inheritance diagram for operations_research::sat::CumulativeEnergyConstraint:
operations_research::sat::PropagatorInterface

Public Member Functions

 CumulativeEnergyConstraint (AffineExpression capacity, SchedulingConstraintHelper *helper, SchedulingDemandHelper *demands, Model *model)
bool Propagate () final
void RegisterWith (GenericLiteralWatcher *watcher)
Public Member Functions inherited from operations_research::sat::PropagatorInterface
 PropagatorInterface ()=default
virtual ~PropagatorInterface ()=default
virtual bool IncrementalPropagate (const std::vector< int > &)

Constructor & Destructor Documentation

◆ CumulativeEnergyConstraint()

operations_research::sat::CumulativeEnergyConstraint::CumulativeEnergyConstraint ( AffineExpression capacity,
SchedulingConstraintHelper * helper,
SchedulingDemandHelper * demands,
Model * model )

Definition at line 68 of file cumulative_energy.cc.

Member Function Documentation

◆ Propagate()

bool operations_research::sat::CumulativeEnergyConstraint::Propagate ( )
finalvirtual

◆ RegisterWith()

void operations_research::sat::CumulativeEnergyConstraint::RegisterWith ( GenericLiteralWatcher * watcher)

Definition at line 79 of file cumulative_energy.cc.


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