DotNet Reference

DotNet Reference

SolutionCollector

Detailed Description

Definition at line 18 of file SolutionCollector.cs.

Public Member Functions

 SolutionCollector (Solver solver, Assignment assignment)
 
 SolutionCollector (Solver solver)
 
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)
 
override void EnterSearch ()
 
int SolutionCount ()
 
Assignment Solution (int n)
 
long WallTime (int n)
 
long Branches (int n)
 
long Failures (int n)
 
long ObjectiveValue (int n)
 
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 ()
 
void Dispose ()
 
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 ()
 
Solver solver ()
 
virtual void PeriodicCheck ()
 
virtual int ProgressPercent ()
 
virtual void Accept (ModelVisitor visitor)
 
virtual void Install ()
 
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 ()
 

Static Public Attributes

static readonly int kNoProgress = operations_research_constraint_solverPINVOKE.SearchMonitor_kNoProgress_get()
 

Protected Member Functions

override void Dispose (bool disposing)
 

Protected Attributes

bool swigCMemOwn
 

Constructor & Destructor Documentation

◆ SolutionCollector() [1/2]

SolutionCollector ( Solver  solver,
Assignment  assignment 
)
inline

Definition at line 42 of file SolutionCollector.cs.

◆ SolutionCollector() [2/2]

SolutionCollector ( Solver  solver)
inline

Definition at line 46 of file SolutionCollector.cs.

Member Function Documentation

◆ Accept()

virtual void Accept ( ModelVisitor  visitor)
inlinevirtualinherited

Reimplemented in RegularLimit, and OptimizeVar.

Definition at line 146 of file SearchMonitor.cs.

◆ AcceptDelta()

virtual bool AcceptDelta ( Assignment  delta,
Assignment  deltadelta 
)
inlinevirtualinherited

Reimplemented in OptimizeVar.

Definition at line 113 of file SearchMonitor.cs.

◆ AcceptNeighbor()

virtual void AcceptNeighbor ( )
inlinevirtualinherited

Definition at line 118 of file SearchMonitor.cs.

◆ AcceptSolution()

virtual bool AcceptSolution ( )
inlinevirtualinherited

Reimplemented in OptimizeVar.

Definition at line 94 of file SearchMonitor.cs.

◆ AcceptUncheckedNeighbor()

virtual void AcceptUncheckedNeighbor ( )
inlinevirtualinherited

Reimplemented in SearchLog.

Definition at line 122 of file SearchMonitor.cs.

◆ Add() [1/6]

void Add ( IntervalVar  var)
inline

Definition at line 64 of file SolutionCollector.cs.

◆ Add() [2/6]

void Add ( IntervalVarVector  vars)
inline

Definition at line 68 of file SolutionCollector.cs.

◆ Add() [3/6]

void Add ( IntVar  var)
inline

Definition at line 55 of file SolutionCollector.cs.

◆ Add() [4/6]

void Add ( IntVarVector  vars)
inline

Definition at line 59 of file SolutionCollector.cs.

◆ Add() [5/6]

void Add ( SequenceVar  var)
inline

Definition at line 73 of file SolutionCollector.cs.

◆ Add() [6/6]

void Add ( SequenceVarVector  vars)
inline

Definition at line 77 of file SolutionCollector.cs.

◆ AddObjective()

void AddObjective ( IntVar  objective)
inline

Definition at line 82 of file SolutionCollector.cs.

◆ AfterDecision()

virtual void AfterDecision ( Decision  d,
bool  apply 
)
inlinevirtualinherited

Definition at line 74 of file SearchMonitor.cs.

◆ ApplyDecision()

virtual void ApplyDecision ( Decision  d)
inlinevirtualinherited

Reimplemented in SearchLog.

Definition at line 66 of file SearchMonitor.cs.

◆ AtSolution()

virtual bool AtSolution ( )
inlinevirtualinherited

Reimplemented in OptimizeVar, and SearchLog.

Definition at line 99 of file SearchMonitor.cs.

◆ BackwardSequence()

int [] BackwardSequence ( int  n,
SequenceVar  var 
)
inline

Definition at line 158 of file SolutionCollector.cs.

◆ BeginFail()

virtual void BeginFail ( )
inlinevirtualinherited

Reimplemented in SearchLog.

Definition at line 78 of file SearchMonitor.cs.

◆ BeginInitialPropagation()

virtual void BeginInitialPropagation ( )
inlinevirtualinherited

Reimplemented in SearchLog.

Definition at line 86 of file SearchMonitor.cs.

◆ BeginNextDecision()

virtual void BeginNextDecision ( DecisionBuilder  b)
inlinevirtualinherited

Reimplemented in OptimizeVar, and SearchLimit.

Definition at line 58 of file SearchMonitor.cs.

◆ Branches()

long Branches ( int  n)
inline

Definition at line 106 of file SolutionCollector.cs.

◆ Dispose() [1/2]

void Dispose ( )
inlineinherited

Definition at line 35 of file BaseObject.cs.

◆ Dispose() [2/2]

override void Dispose ( bool  disposing)
inlineprotectedvirtual

Reimplemented from SearchMonitor.

Definition at line 29 of file SolutionCollector.cs.

◆ DurationValue()

long DurationValue ( int  n,
IntervalVar  var 
)
inline

Definition at line 136 of file SolutionCollector.cs.

◆ EndFail()

virtual void EndFail ( )
inlinevirtualinherited

Definition at line 82 of file SearchMonitor.cs.

◆ EndInitialPropagation()

virtual void EndInitialPropagation ( )
inlinevirtualinherited

Reimplemented in SearchLog.

Definition at line 90 of file SearchMonitor.cs.

◆ EndNextDecision()

virtual void EndNextDecision ( DecisionBuilder  b,
Decision  d 
)
inlinevirtualinherited

Definition at line 62 of file SearchMonitor.cs.

◆ EndValue()

long EndValue ( int  n,
IntervalVar  var 
)
inline

Definition at line 131 of file SolutionCollector.cs.

◆ EnterSearch()

override void EnterSearch ( )
inlinevirtual

Reimplemented from SearchMonitor.

Definition at line 86 of file SolutionCollector.cs.

◆ ExitSearch()

virtual void ExitSearch ( )
inlinevirtualinherited

Reimplemented in RegularLimit, and SearchLog.

Definition at line 54 of file SearchMonitor.cs.

◆ Failures()

long Failures ( int  n)
inline

Definition at line 111 of file SolutionCollector.cs.

◆ ForwardSequence()

int [] ForwardSequence ( int  n,
SequenceVar  var 
)
inline

Definition at line 146 of file SolutionCollector.cs.

◆ Install()

virtual void Install ( )
inlinevirtualinherited

Reimplemented in PropagationMonitor, and LocalSearchMonitor.

Definition at line 150 of file SearchMonitor.cs.

◆ IsUncheckedSolutionLimitReached()

virtual bool IsUncheckedSolutionLimitReached ( )
inlinevirtualinherited

Reimplemented in RegularLimit.

Definition at line 126 of file SearchMonitor.cs.

◆ LocalOptimum()

virtual bool LocalOptimum ( )
inlinevirtualinherited

Definition at line 108 of file SearchMonitor.cs.

◆ NoMoreSolutions()

virtual void NoMoreSolutions ( )
inlinevirtualinherited

Reimplemented in SearchLog.

Definition at line 104 of file SearchMonitor.cs.

◆ ObjectiveValue()

long ObjectiveValue ( int  n)
inline

Definition at line 116 of file SolutionCollector.cs.

◆ PerformedValue()

long PerformedValue ( int  n,
IntervalVar  var 
)
inline

Definition at line 141 of file SolutionCollector.cs.

◆ PeriodicCheck()

virtual void PeriodicCheck ( )
inlinevirtualinherited

Reimplemented in SearchLimit.

Definition at line 137 of file SearchMonitor.cs.

◆ ProgressPercent()

virtual int ProgressPercent ( )
inlinevirtualinherited

Reimplemented in RegularLimit.

Definition at line 141 of file SearchMonitor.cs.

◆ RefuteDecision()

virtual void RefuteDecision ( Decision  d)
inlinevirtualinherited

Reimplemented in SearchLog, SearchLimit, and OptimizeVar.

Definition at line 70 of file SearchMonitor.cs.

◆ RestartSearch()

virtual void RestartSearch ( )
inlinevirtualinherited

Definition at line 50 of file SearchMonitor.cs.

◆ Solution()

Assignment Solution ( int  n)
inline

Definition at line 95 of file SolutionCollector.cs.

◆ SolutionCount()

int SolutionCount ( )
inline

Definition at line 90 of file SolutionCollector.cs.

◆ solver()

Solver solver ( )
inlineinherited

Definition at line 131 of file SearchMonitor.cs.

◆ StartValue()

long StartValue ( int  n,
IntervalVar  var 
)
inline

Definition at line 126 of file SolutionCollector.cs.

◆ SwigDelegateSearchMonitor_0()

delegate string SwigDelegateSearchMonitor_0 ( )
inherited

◆ SwigDelegateSearchMonitor_1()

delegate void SwigDelegateSearchMonitor_1 ( )
inherited

◆ SwigDelegateSearchMonitor_10()

delegate void SwigDelegateSearchMonitor_10 ( )
inherited

◆ SwigDelegateSearchMonitor_11()

delegate void SwigDelegateSearchMonitor_11 ( )
inherited

◆ SwigDelegateSearchMonitor_12()

delegate void SwigDelegateSearchMonitor_12 ( )
inherited

◆ SwigDelegateSearchMonitor_13()

delegate bool SwigDelegateSearchMonitor_13 ( )
inherited

◆ SwigDelegateSearchMonitor_14()

delegate bool SwigDelegateSearchMonitor_14 ( )
inherited

◆ SwigDelegateSearchMonitor_15()

delegate void SwigDelegateSearchMonitor_15 ( )
inherited

◆ SwigDelegateSearchMonitor_16()

delegate bool SwigDelegateSearchMonitor_16 ( )
inherited

◆ SwigDelegateSearchMonitor_17()

delegate bool SwigDelegateSearchMonitor_17 ( global::System.IntPtr  delta,
global::System.IntPtr  deltadelta 
)
inherited

◆ SwigDelegateSearchMonitor_18()

delegate void SwigDelegateSearchMonitor_18 ( )
inherited

◆ SwigDelegateSearchMonitor_19()

delegate void SwigDelegateSearchMonitor_19 ( )
inherited

◆ SwigDelegateSearchMonitor_2()

delegate void SwigDelegateSearchMonitor_2 ( )
inherited

◆ SwigDelegateSearchMonitor_20()

delegate bool SwigDelegateSearchMonitor_20 ( )
inherited

◆ SwigDelegateSearchMonitor_21()

delegate void SwigDelegateSearchMonitor_21 ( )
inherited

◆ SwigDelegateSearchMonitor_22()

delegate int SwigDelegateSearchMonitor_22 ( )
inherited

◆ SwigDelegateSearchMonitor_23()

delegate void SwigDelegateSearchMonitor_23 ( global::System.IntPtr  visitor)
inherited

◆ SwigDelegateSearchMonitor_24()

delegate void SwigDelegateSearchMonitor_24 ( )
inherited

◆ SwigDelegateSearchMonitor_3()

delegate void SwigDelegateSearchMonitor_3 ( )
inherited

◆ SwigDelegateSearchMonitor_4()

delegate void SwigDelegateSearchMonitor_4 ( global::System.IntPtr  b)
inherited

◆ SwigDelegateSearchMonitor_5()

delegate void SwigDelegateSearchMonitor_5 ( global::System.IntPtr  b,
global::System.IntPtr  d 
)
inherited

◆ SwigDelegateSearchMonitor_6()

delegate void SwigDelegateSearchMonitor_6 ( global::System.IntPtr  d)
inherited

◆ SwigDelegateSearchMonitor_7()

delegate void SwigDelegateSearchMonitor_7 ( global::System.IntPtr  d)
inherited

◆ SwigDelegateSearchMonitor_8()

delegate void SwigDelegateSearchMonitor_8 ( global::System.IntPtr  d,
bool  apply 
)
inherited

◆ SwigDelegateSearchMonitor_9()

delegate void SwigDelegateSearchMonitor_9 ( )
inherited

◆ SwigDelegateSolutionCollector_0()

delegate string SwigDelegateSolutionCollector_0 ( )

◆ SwigDelegateSolutionCollector_1()

delegate void SwigDelegateSolutionCollector_1 ( )

◆ SwigDelegateSolutionCollector_10()

delegate void SwigDelegateSolutionCollector_10 ( )

◆ SwigDelegateSolutionCollector_11()

delegate void SwigDelegateSolutionCollector_11 ( )

◆ SwigDelegateSolutionCollector_12()

delegate void SwigDelegateSolutionCollector_12 ( )

◆ SwigDelegateSolutionCollector_13()

delegate bool SwigDelegateSolutionCollector_13 ( )

◆ SwigDelegateSolutionCollector_14()

delegate bool SwigDelegateSolutionCollector_14 ( )

◆ SwigDelegateSolutionCollector_15()

delegate void SwigDelegateSolutionCollector_15 ( )

◆ SwigDelegateSolutionCollector_16()

delegate bool SwigDelegateSolutionCollector_16 ( )

◆ SwigDelegateSolutionCollector_17()

delegate bool SwigDelegateSolutionCollector_17 ( global::System.IntPtr  delta,
global::System.IntPtr  deltadelta 
)

◆ SwigDelegateSolutionCollector_18()

delegate void SwigDelegateSolutionCollector_18 ( )

◆ SwigDelegateSolutionCollector_19()

delegate void SwigDelegateSolutionCollector_19 ( )

◆ SwigDelegateSolutionCollector_2()

delegate void SwigDelegateSolutionCollector_2 ( )

◆ SwigDelegateSolutionCollector_20()

delegate bool SwigDelegateSolutionCollector_20 ( )

◆ SwigDelegateSolutionCollector_21()

delegate void SwigDelegateSolutionCollector_21 ( )

◆ SwigDelegateSolutionCollector_22()

delegate int SwigDelegateSolutionCollector_22 ( )

◆ SwigDelegateSolutionCollector_23()

delegate void SwigDelegateSolutionCollector_23 ( global::System.IntPtr  visitor)

◆ SwigDelegateSolutionCollector_24()

delegate void SwigDelegateSolutionCollector_24 ( )

◆ SwigDelegateSolutionCollector_3()

delegate void SwigDelegateSolutionCollector_3 ( )

◆ SwigDelegateSolutionCollector_4()

delegate void SwigDelegateSolutionCollector_4 ( global::System.IntPtr  b)

◆ SwigDelegateSolutionCollector_5()

delegate void SwigDelegateSolutionCollector_5 ( global::System.IntPtr  b,
global::System.IntPtr  d 
)

◆ SwigDelegateSolutionCollector_6()

delegate void SwigDelegateSolutionCollector_6 ( global::System.IntPtr  d)

◆ SwigDelegateSolutionCollector_7()

delegate void SwigDelegateSolutionCollector_7 ( global::System.IntPtr  d)

◆ SwigDelegateSolutionCollector_8()

delegate void SwigDelegateSolutionCollector_8 ( global::System.IntPtr  d,
bool  apply 
)

◆ SwigDelegateSolutionCollector_9()

delegate void SwigDelegateSolutionCollector_9 ( )

◆ ToString()

override string ToString ( )
inlinevirtual

Reimplemented from BaseObject.

Definition at line 50 of file SolutionCollector.cs.

◆ Unperformed()

int [] Unperformed ( int  n,
SequenceVar  var 
)
inline

Definition at line 170 of file SolutionCollector.cs.

◆ Value()

long Value ( int  n,
IntVar  var 
)
inline

Definition at line 121 of file SolutionCollector.cs.

◆ WallTime()

long WallTime ( int  n)
inline

Definition at line 101 of file SolutionCollector.cs.

Member Data Documentation

◆ kNoProgress

Definition at line 391 of file SearchMonitor.cs.

◆ swigCMemOwn

bool swigCMemOwn
protectedinherited

Definition at line 20 of file BaseObject.cs.


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