OR-Tools  9.6
CumulativeIsAfterSubsetConstraint

Detailed Description

Definition at line 80 of file cumulative_energy.h.

Public Member Functions

 CumulativeIsAfterSubsetConstraint (IntegerVariable var, AffineExpression capacity, const std::vector< int > &subtasks, const std::vector< IntegerValue > &offsets, 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

◆ CumulativeIsAfterSubsetConstraint()

CumulativeIsAfterSubsetConstraint ( IntegerVariable  var,
AffineExpression  capacity,
const std::vector< int > &  subtasks,
const std::vector< IntegerValue > &  offsets,
SchedulingConstraintHelper helper,
SchedulingDemandHelper demands,
Model model 
)

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

◆ RegisterWith()

void RegisterWith ( GenericLiteralWatcher watcher)

Definition at line 354 of file cumulative_energy.cc.


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