Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.ObjectiveMonitor Class Reference
Inheritance diagram for Google.OrTools.ConstraintSolver.ObjectiveMonitor:
Google.OrTools.ConstraintSolver.SearchMonitor Google.OrTools.ConstraintSolver.BaseObject Google.OrTools.ConstraintSolver.OptimizeVar

Public Member Functions

 ObjectiveMonitor (Solver solver, SWIGTYPE_p_std__vectorT_bool_t maximize, IntVarVector vars, long[] steps)
 
IntVar ObjectiveVar (int index)
 
IntVar MinimizationVar (int index)
 
long Step (int index)
 
bool Maximize (int index)
 
long BestValue (int index)
 
int Size ()
 
override void EnterSearch ()
 
override bool AtSolution ()
 
override bool AcceptDelta (Assignment delta, Assignment deltadelta)
 
override void Accept (ModelVisitor visitor)
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
 SearchMonitor (Solver s)
 
virtual void RestartSearch ()
 
virtual void ExitSearch ()
 
virtual void BeginNextDecision (DecisionBuilder b)
 
virtual void EndNextDecision (DecisionBuilder b, Decision d)
 
virtual void ApplyDecision (Decision d)
 
virtual void RefuteDecision (Decision d)
 
virtual void AfterDecision (Decision d, bool apply)
 
virtual void BeginFail ()
 
virtual void EndFail ()
 
virtual void BeginInitialPropagation ()
 
virtual void EndInitialPropagation ()
 
virtual bool AcceptSolution ()
 
virtual void NoMoreSolutions ()
 
virtual bool LocalOptimum ()
 
virtual void AcceptNeighbor ()
 
virtual void AcceptUncheckedNeighbor ()
 
virtual bool IsUncheckedSolutionLimitReached ()
 
virtual void PeriodicCheck ()
 
virtual int ProgressPercent ()
 
virtual void Install ()
 
Solver solver ()
 
delegate string SwigDelegateSearchMonitor_0 ()
 
delegate void SwigDelegateSearchMonitor_1 ()
 
delegate void SwigDelegateSearchMonitor_2 ()
 
delegate void SwigDelegateSearchMonitor_3 ()
 
delegate void SwigDelegateSearchMonitor_4 (global::System.IntPtr b)
 
delegate void SwigDelegateSearchMonitor_5 (global::System.IntPtr b, global::System.IntPtr d)
 
delegate void SwigDelegateSearchMonitor_6 (global::System.IntPtr d)
 
delegate void SwigDelegateSearchMonitor_7 (global::System.IntPtr d)
 
delegate void SwigDelegateSearchMonitor_8 (global::System.IntPtr d, bool apply)
 
delegate void SwigDelegateSearchMonitor_9 ()
 
delegate void SwigDelegateSearchMonitor_10 ()
 
delegate void SwigDelegateSearchMonitor_11 ()
 
delegate void SwigDelegateSearchMonitor_12 ()
 
delegate bool SwigDelegateSearchMonitor_13 ()
 
delegate bool SwigDelegateSearchMonitor_14 ()
 
delegate void SwigDelegateSearchMonitor_15 ()
 
delegate bool SwigDelegateSearchMonitor_16 ()
 
delegate bool SwigDelegateSearchMonitor_17 (global::System.IntPtr delta, global::System.IntPtr deltadelta)
 
delegate void SwigDelegateSearchMonitor_18 ()
 
delegate void SwigDelegateSearchMonitor_19 ()
 
delegate bool SwigDelegateSearchMonitor_20 ()
 
delegate void SwigDelegateSearchMonitor_21 ()
 
delegate int SwigDelegateSearchMonitor_22 ()
 
delegate void SwigDelegateSearchMonitor_23 (global::System.IntPtr visitor)
 
delegate void SwigDelegateSearchMonitor_24 ()
 
- Public Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
void Dispose ()
 
 BaseObject ()
 
virtual string ToString ()
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject

Additional Inherited Members

- Static Public Attributes inherited from Google.OrTools.ConstraintSolver.SearchMonitor
static readonly int kNoProgress = operations_research_constraint_solverPINVOKE.SearchMonitor_kNoProgress_get()
 
- Protected Attributes inherited from Google.OrTools.ConstraintSolver.BaseObject
bool swigCMemOwn
 
- Package Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
- Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
- Static Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject

Detailed Description

Definition at line 20 of file ObjectiveMonitor.cs.

Constructor & Destructor Documentation

◆ ObjectiveMonitor()

Google.OrTools.ConstraintSolver.ObjectiveMonitor.ObjectiveMonitor ( Solver solver,
SWIGTYPE_p_std__vectorT_bool_t maximize,
IntVarVector vars,
long[] steps )
inline

Definition at line 57 of file ObjectiveMonitor.cs.

Member Function Documentation

◆ Accept()

override void Google.OrTools.ConstraintSolver.ObjectiveMonitor.Accept ( ModelVisitor visitor)
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 107 of file ObjectiveMonitor.cs.

◆ AcceptDelta()

override bool Google.OrTools.ConstraintSolver.ObjectiveMonitor.AcceptDelta ( Assignment delta,
Assignment deltadelta )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 102 of file ObjectiveMonitor.cs.

◆ AtSolution()

override bool Google.OrTools.ConstraintSolver.ObjectiveMonitor.AtSolution ( )
inlinevirtual

◆ BestValue()

long Google.OrTools.ConstraintSolver.ObjectiveMonitor.BestValue ( int index)
inline

Definition at line 83 of file ObjectiveMonitor.cs.

◆ Dispose()

override void Google.OrTools.ConstraintSolver.ObjectiveMonitor.Dispose ( bool disposing)
inlineprotectedvirtual

Reimplemented from Google.OrTools.ConstraintSolver.BaseObject.

Reimplemented in Google.OrTools.ConstraintSolver.OptimizeVar.

Definition at line 44 of file ObjectiveMonitor.cs.

◆ EnterSearch()

override void Google.OrTools.ConstraintSolver.ObjectiveMonitor.EnterSearch ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 93 of file ObjectiveMonitor.cs.

◆ Maximize()

bool Google.OrTools.ConstraintSolver.ObjectiveMonitor.Maximize ( int index)
inline

Definition at line 78 of file ObjectiveMonitor.cs.

◆ MinimizationVar()

IntVar Google.OrTools.ConstraintSolver.ObjectiveMonitor.MinimizationVar ( int index)
inline

Definition at line 67 of file ObjectiveMonitor.cs.

◆ ObjectiveVar()

IntVar Google.OrTools.ConstraintSolver.ObjectiveMonitor.ObjectiveVar ( int index)
inline

Definition at line 61 of file ObjectiveMonitor.cs.

◆ Size()

int Google.OrTools.ConstraintSolver.ObjectiveMonitor.Size ( )
inline

Definition at line 88 of file ObjectiveMonitor.cs.

◆ Step()

long Google.OrTools.ConstraintSolver.ObjectiveMonitor.Step ( int index)
inline

Definition at line 73 of file ObjectiveMonitor.cs.


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