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

#include <constraint_solver.h>

Inheritance diagram for operations_research::DecisionVisitor:
operations_research::BaseObject operations_research::SymmetryBreaker

Public Member Functions

 DecisionVisitor ()
 
 DecisionVisitor (const DecisionVisitor &)=delete
 This type is neither copyable nor movable.
 
DecisionVisitoroperator= (const DecisionVisitor &)=delete
 
 ~DecisionVisitor () override
 
virtual void VisitSetVariableValue (IntVar *var, int64_t value)
 
virtual void VisitSplitVariableDomain (IntVar *var, int64_t value, bool start_with_lower_half)
 
virtual void VisitScheduleOrPostpone (IntervalVar *var, int64_t est)
 
virtual void VisitScheduleOrExpedite (IntervalVar *var, int64_t est)
 
virtual void VisitRankFirstInterval (SequenceVar *sequence, int index)
 
virtual void VisitRankLastInterval (SequenceVar *sequence, int index)
 
virtual void VisitUnknownDecision ()
 
- Public Member Functions inherited from operations_research::BaseObject
 BaseObject ()
 
 BaseObject (const BaseObject &)=delete
 This type is neither copyable nor movable.
 
BaseObjectoperator= (const BaseObject &)=delete
 
virtual ~BaseObject ()
 
virtual std::string DebugString () const
 

Detailed Description

A DecisionVisitor is used to inspect a decision. It contains virtual methods for all type of 'declared' decisions.

Definition at line 3475 of file constraint_solver.h.

Constructor & Destructor Documentation

◆ DecisionVisitor() [1/2]

operations_research::DecisionVisitor::DecisionVisitor ( )
inline

Definition at line 3477 of file constraint_solver.h.

◆ DecisionVisitor() [2/2]

operations_research::DecisionVisitor::DecisionVisitor ( const DecisionVisitor & )
delete

This type is neither copyable nor movable.

◆ ~DecisionVisitor()

operations_research::DecisionVisitor::~DecisionVisitor ( )
inlineoverride

Definition at line 3484 of file constraint_solver.h.

Member Function Documentation

◆ operator=()

DecisionVisitor & operations_research::DecisionVisitor::operator= ( const DecisionVisitor & )
delete

◆ VisitRankFirstInterval()

void operations_research::DecisionVisitor::VisitRankFirstInterval ( SequenceVar * sequence,
int index )
virtual

Definition at line 2544 of file constraint_solver.cc.

◆ VisitRankLastInterval()

void operations_research::DecisionVisitor::VisitRankLastInterval ( SequenceVar * sequence,
int index )
virtual

Definition at line 2547 of file constraint_solver.cc.

◆ VisitScheduleOrExpedite()

void operations_research::DecisionVisitor::VisitScheduleOrExpedite ( IntervalVar * var,
int64_t est )
virtual

Definition at line 2542 of file constraint_solver.cc.

◆ VisitScheduleOrPostpone()

void operations_research::DecisionVisitor::VisitScheduleOrPostpone ( IntervalVar * var,
int64_t est )
virtual

Definition at line 2540 of file constraint_solver.cc.

◆ VisitSetVariableValue()

void operations_research::DecisionVisitor::VisitSetVariableValue ( IntVar * var,
int64_t value )
virtual

Definition at line 2534 of file constraint_solver.cc.

◆ VisitSplitVariableDomain()

void operations_research::DecisionVisitor::VisitSplitVariableDomain ( IntVar * var,
int64_t value,
bool start_with_lower_half )
virtual

Definition at line 2536 of file constraint_solver.cc.

◆ VisitUnknownDecision()

void operations_research::DecisionVisitor::VisitUnknownDecision ( )
virtual

Definition at line 2539 of file constraint_solver.cc.


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