OR-Tools  9.6
AllDifferentConstraint

Detailed Description

Definition at line 68 of file all_different.h.

Public Member Functions

 AllDifferentConstraint (std::vector< IntegerVariable > variables, IntegerEncoder *encoder, Trail *trail, IntegerTrail *integer_trail)
 
bool Propagate () final
 
void RegisterWith (GenericLiteralWatcher *watcher)
 

Constructor & Destructor Documentation

◆ AllDifferentConstraint()

AllDifferentConstraint ( std::vector< IntegerVariable >  variables,
IntegerEncoder encoder,
Trail trail,
IntegerTrail integer_trail 
)

Definition at line 111 of file all_different.cc.

Member Function Documentation

◆ Propagate()

bool Propagate ( )
finalvirtual

Implements PropagatorInterface.

Definition at line 259 of file all_different.cc.

◆ RegisterWith()

void RegisterWith ( GenericLiteralWatcher watcher)

Definition at line 170 of file all_different.cc.


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