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

Public Member Functions

 SolutionCollector (Solver solver, Assignment assignment)
 
 SolutionCollector (Solver solver)
 
override void Install ()
 
override string ToString ()
 
void Add (IntVar var)
 
void Add (IntVarVector vars)
 
void Add (IntervalVar var)
 
void Add (IntervalVarVector vars)
 
void Add (SequenceVar var)
 
void Add (SequenceVarVector vars)
 
void AddObjective (IntVar objective)
 
void AddObjectives (IntVarVector objectives)
 
override void EnterSearch ()
 
int SolutionCount ()
 
bool HasSolution ()
 
Assignment Solution (int n)
 
Assignment LastSolutionOrNull ()
 
long WallTime (int n)
 
long Branches (int n)
 
long Failures (int n)
 
long ObjectiveValue (int n)
 
long ObjectiveValueFromIndex (int n, int index)
 
long Value (int n, IntVar var)
 
long StartValue (int n, IntervalVar var)
 
long EndValue (int n, IntervalVar var)
 
long DurationValue (int n, IntervalVar var)
 
long PerformedValue (int n, IntervalVar var)
 
int[] ForwardSequence (int n, SequenceVar var)
 
int[] BackwardSequence (int n, SequenceVar var)
 
int[] Unperformed (int n, SequenceVar var)
 
delegate string SwigDelegateSolutionCollector_0 ()
 
delegate void SwigDelegateSolutionCollector_1 ()
 
delegate void SwigDelegateSolutionCollector_2 ()
 
delegate void SwigDelegateSolutionCollector_3 ()
 
delegate void SwigDelegateSolutionCollector_4 (global::System.IntPtr b)
 
delegate void SwigDelegateSolutionCollector_5 (global::System.IntPtr b, global::System.IntPtr d)
 
delegate void SwigDelegateSolutionCollector_6 (global::System.IntPtr d)
 
delegate void SwigDelegateSolutionCollector_7 (global::System.IntPtr d)
 
delegate void SwigDelegateSolutionCollector_8 (global::System.IntPtr d, bool apply)
 
delegate void SwigDelegateSolutionCollector_9 ()
 
delegate void SwigDelegateSolutionCollector_10 ()
 
delegate void SwigDelegateSolutionCollector_11 ()
 
delegate void SwigDelegateSolutionCollector_12 ()
 
delegate bool SwigDelegateSolutionCollector_13 ()
 
delegate bool SwigDelegateSolutionCollector_14 ()
 
delegate void SwigDelegateSolutionCollector_15 ()
 
delegate bool SwigDelegateSolutionCollector_16 ()
 
delegate bool SwigDelegateSolutionCollector_17 (global::System.IntPtr delta, global::System.IntPtr deltadelta)
 
delegate void SwigDelegateSolutionCollector_18 ()
 
delegate void SwigDelegateSolutionCollector_19 ()
 
delegate bool SwigDelegateSolutionCollector_20 ()
 
delegate void SwigDelegateSolutionCollector_21 ()
 
delegate int SwigDelegateSolutionCollector_22 ()
 
delegate void SwigDelegateSolutionCollector_23 (global::System.IntPtr visitor)
 
delegate void SwigDelegateSolutionCollector_24 ()
 
- 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 bool AtSolution ()
 
virtual void NoMoreSolutions ()
 
virtual bool LocalOptimum ()
 
virtual bool AcceptDelta (Assignment delta, Assignment deltadelta)
 
virtual void AcceptNeighbor ()
 
virtual void AcceptUncheckedNeighbor ()
 
virtual bool IsUncheckedSolutionLimitReached ()
 
virtual void PeriodicCheck ()
 
virtual int ProgressPercent ()
 
virtual void Accept (ModelVisitor visitor)
 
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 ()
 

Protected Member Functions

override void Dispose (bool disposing)
 
- Protected Member Functions inherited from Google.OrTools.ConstraintSolver.SearchMonitor
- 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 SolutionCollector.cs.

Constructor & Destructor Documentation

◆ SolutionCollector() [1/2]

Google.OrTools.ConstraintSolver.SolutionCollector.SolutionCollector ( Solver solver,
Assignment assignment )
inline

Definition at line 57 of file SolutionCollector.cs.

◆ SolutionCollector() [2/2]

Google.OrTools.ConstraintSolver.SolutionCollector.SolutionCollector ( Solver solver)
inline

Definition at line 61 of file SolutionCollector.cs.

Member Function Documentation

◆ Add() [1/6]

void Google.OrTools.ConstraintSolver.SolutionCollector.Add ( IntervalVar var)
inline

Definition at line 83 of file SolutionCollector.cs.

◆ Add() [2/6]

void Google.OrTools.ConstraintSolver.SolutionCollector.Add ( IntervalVarVector vars)
inline

Definition at line 87 of file SolutionCollector.cs.

◆ Add() [3/6]

void Google.OrTools.ConstraintSolver.SolutionCollector.Add ( IntVar var)
inline

Definition at line 74 of file SolutionCollector.cs.

◆ Add() [4/6]

void Google.OrTools.ConstraintSolver.SolutionCollector.Add ( IntVarVector vars)
inline

Definition at line 78 of file SolutionCollector.cs.

◆ Add() [5/6]

void Google.OrTools.ConstraintSolver.SolutionCollector.Add ( SequenceVar var)
inline

Definition at line 92 of file SolutionCollector.cs.

◆ Add() [6/6]

void Google.OrTools.ConstraintSolver.SolutionCollector.Add ( SequenceVarVector vars)
inline

Definition at line 96 of file SolutionCollector.cs.

◆ AddObjective()

void Google.OrTools.ConstraintSolver.SolutionCollector.AddObjective ( IntVar objective)
inline

Definition at line 101 of file SolutionCollector.cs.

◆ AddObjectives()

void Google.OrTools.ConstraintSolver.SolutionCollector.AddObjectives ( IntVarVector objectives)
inline

Definition at line 105 of file SolutionCollector.cs.

◆ BackwardSequence()

int[] Google.OrTools.ConstraintSolver.SolutionCollector.BackwardSequence ( int n,
SequenceVar var )
inline

Definition at line 198 of file SolutionCollector.cs.

◆ Branches()

long Google.OrTools.ConstraintSolver.SolutionCollector.Branches ( int n)
inline

Definition at line 141 of file SolutionCollector.cs.

◆ Dispose()

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

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 44 of file SolutionCollector.cs.

◆ DurationValue()

long Google.OrTools.ConstraintSolver.SolutionCollector.DurationValue ( int n,
IntervalVar var )
inline

Definition at line 176 of file SolutionCollector.cs.

◆ EndValue()

long Google.OrTools.ConstraintSolver.SolutionCollector.EndValue ( int n,
IntervalVar var )
inline

Definition at line 171 of file SolutionCollector.cs.

◆ EnterSearch()

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

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 110 of file SolutionCollector.cs.

◆ Failures()

long Google.OrTools.ConstraintSolver.SolutionCollector.Failures ( int n)
inline

Definition at line 146 of file SolutionCollector.cs.

◆ ForwardSequence()

int[] Google.OrTools.ConstraintSolver.SolutionCollector.ForwardSequence ( int n,
SequenceVar var )
inline

Definition at line 186 of file SolutionCollector.cs.

◆ HasSolution()

bool Google.OrTools.ConstraintSolver.SolutionCollector.HasSolution ( )
inline

Definition at line 119 of file SolutionCollector.cs.

◆ Install()

override void Google.OrTools.ConstraintSolver.SolutionCollector.Install ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.SearchMonitor.

Definition at line 65 of file SolutionCollector.cs.

◆ LastSolutionOrNull()

Assignment Google.OrTools.ConstraintSolver.SolutionCollector.LastSolutionOrNull ( )
inline

Definition at line 130 of file SolutionCollector.cs.

◆ ObjectiveValue()

long Google.OrTools.ConstraintSolver.SolutionCollector.ObjectiveValue ( int n)
inline

Definition at line 151 of file SolutionCollector.cs.

◆ ObjectiveValueFromIndex()

long Google.OrTools.ConstraintSolver.SolutionCollector.ObjectiveValueFromIndex ( int n,
int index )
inline

Definition at line 156 of file SolutionCollector.cs.

◆ PerformedValue()

long Google.OrTools.ConstraintSolver.SolutionCollector.PerformedValue ( int n,
IntervalVar var )
inline

Definition at line 181 of file SolutionCollector.cs.

◆ Solution()

Assignment Google.OrTools.ConstraintSolver.SolutionCollector.Solution ( int n)
inline

Definition at line 124 of file SolutionCollector.cs.

◆ SolutionCount()

int Google.OrTools.ConstraintSolver.SolutionCollector.SolutionCount ( )
inline

Definition at line 114 of file SolutionCollector.cs.

◆ StartValue()

long Google.OrTools.ConstraintSolver.SolutionCollector.StartValue ( int n,
IntervalVar var )
inline

Definition at line 166 of file SolutionCollector.cs.

◆ SwigDelegateSolutionCollector_0()

delegate string Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_0 ( )

◆ SwigDelegateSolutionCollector_1()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_1 ( )

◆ SwigDelegateSolutionCollector_10()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_10 ( )

◆ SwigDelegateSolutionCollector_11()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_11 ( )

◆ SwigDelegateSolutionCollector_12()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_12 ( )

◆ SwigDelegateSolutionCollector_13()

delegate bool Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_13 ( )

◆ SwigDelegateSolutionCollector_14()

delegate bool Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_14 ( )

◆ SwigDelegateSolutionCollector_15()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_15 ( )

◆ SwigDelegateSolutionCollector_16()

delegate bool Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_16 ( )

◆ SwigDelegateSolutionCollector_17()

delegate bool Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_17 ( global.System.IntPtr delta,
global.System.IntPtr deltadelta )

◆ SwigDelegateSolutionCollector_18()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_18 ( )

◆ SwigDelegateSolutionCollector_19()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_19 ( )

◆ SwigDelegateSolutionCollector_2()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_2 ( )

◆ SwigDelegateSolutionCollector_20()

delegate bool Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_20 ( )

◆ SwigDelegateSolutionCollector_21()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_21 ( )

◆ SwigDelegateSolutionCollector_22()

delegate int Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_22 ( )

◆ SwigDelegateSolutionCollector_23()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_23 ( global.System.IntPtr visitor)

◆ SwigDelegateSolutionCollector_24()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_24 ( )

◆ SwigDelegateSolutionCollector_3()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_3 ( )

◆ SwigDelegateSolutionCollector_4()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_4 ( global.System.IntPtr b)

◆ SwigDelegateSolutionCollector_5()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_5 ( global.System.IntPtr b,
global.System.IntPtr d )

◆ SwigDelegateSolutionCollector_6()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_6 ( global.System.IntPtr d)

◆ SwigDelegateSolutionCollector_7()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_7 ( global.System.IntPtr d)

◆ SwigDelegateSolutionCollector_8()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_8 ( global.System.IntPtr d,
bool apply )

◆ SwigDelegateSolutionCollector_9()

delegate void Google.OrTools.ConstraintSolver.SolutionCollector.SwigDelegateSolutionCollector_9 ( )

◆ ToString()

override string Google.OrTools.ConstraintSolver.SolutionCollector.ToString ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.BaseObject.

Definition at line 69 of file SolutionCollector.cs.

◆ Unperformed()

int[] Google.OrTools.ConstraintSolver.SolutionCollector.Unperformed ( int n,
SequenceVar var )
inline

Definition at line 210 of file SolutionCollector.cs.

◆ Value()

long Google.OrTools.ConstraintSolver.SolutionCollector.Value ( int n,
IntVar var )
inline

Definition at line 161 of file SolutionCollector.cs.

◆ WallTime()

long Google.OrTools.ConstraintSolver.SolutionCollector.WallTime ( int n)
inline

Definition at line 136 of file SolutionCollector.cs.


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