OR-Tools  8.2
BooleanXorPropagator

Detailed Description

Definition at line 38 of file cp_constraints.h.

Public Member Functions

 BooleanXorPropagator (const std::vector< Literal > &literals, bool value, Trail *trail, IntegerTrail *integer_trail)
 
bool Propagate () final
 
void RegisterWith (GenericLiteralWatcher *watcher)
 
virtual bool IncrementalPropagate (const std::vector< int > &watch_indices)
 

Constructor & Destructor Documentation

◆ BooleanXorPropagator()

BooleanXorPropagator ( const std::vector< Literal > &  literals,
bool  value,
Trail trail,
IntegerTrail integer_trail 
)
inline

Definition at line 40 of file cp_constraints.h.

Member Function Documentation

◆ IncrementalPropagate()

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

◆ Propagate()

bool Propagate ( )
finalvirtual

Implements PropagatorInterface.

Definition at line 26 of file cp_constraints.cc.

◆ RegisterWith()

void RegisterWith ( GenericLiteralWatcher watcher)

Definition at line 71 of file cp_constraints.cc.


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