OR-Tools  8.2
SquarePropagator

Detailed Description

Definition at line 277 of file integer_expr.h.

Public Member Functions

 SquarePropagator (IntegerVariable x, IntegerVariable s, IntegerTrail *integer_trail)
 
bool Propagate () final
 
void RegisterWith (GenericLiteralWatcher *watcher)
 
virtual bool IncrementalPropagate (const std::vector< int > &watch_indices)
 

Constructor & Destructor Documentation

◆ SquarePropagator()

SquarePropagator ( IntegerVariable  x,
IntegerVariable  s,
IntegerTrail integer_trail 
)

Definition at line 712 of file integer_expr.cc.

Member Function Documentation

◆ IncrementalPropagate()

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

◆ Propagate()

bool Propagate ( )
finalvirtual

Implements PropagatorInterface.

Definition at line 720 of file integer_expr.cc.

◆ RegisterWith()

void RegisterWith ( GenericLiteralWatcher watcher)

Definition at line 761 of file integer_expr.cc.


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