LocalSearchMonitor.cs
Go to the documentation of this file.
1 //------------------------------------------------------------------------------
2 // <auto-generated />
3 //
4 // This file was automatically generated by SWIG (http://www.swig.org).
5 // Version 3.0.12
6 //
7 // Do not make changes to this file unless you know what you are doing--modify
8 // the SWIG interface file instead.
9 //------------------------------------------------------------------------------
10 
12 
13 using System;
14 using System.Runtime.InteropServices;
15 using System.Collections;
16 using System.Collections.Generic;
17 
18 public partial class LocalSearchMonitor : SearchMonitor {
19  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20 
21  internal LocalSearchMonitor(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.LocalSearchMonitor_SWIGUpcast(cPtr), cMemoryOwn) {
22  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23  }
24 
25  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(LocalSearchMonitor obj) {
26  return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
27  }
28 
30  Dispose();
31  }
32 
33  public override void Dispose() {
34  lock(this) {
35  if (swigCPtr.Handle != global::System.IntPtr.Zero) {
36  if (swigCMemOwn) {
37  swigCMemOwn = false;
39  }
40  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
41  }
42  global::System.GC.SuppressFinalize(this);
43  base.Dispose();
44  }
45  }
46 
47  public override string ToString() {
49  return ret;
50  }
51 
52  public virtual void BeginOperatorStart() {
54  }
55 
56  public virtual void EndOperatorStart() {
58  }
59 
60  public virtual void BeginMakeNextNeighbor(LocalSearchOperator op) {
62  }
63 
64  public virtual void EndMakeNextNeighbor(LocalSearchOperator op, bool neighbor_found, Assignment delta, Assignment deltadelta) {
65  operations_research_constraint_solverPINVOKE.LocalSearchMonitor_EndMakeNextNeighbor(swigCPtr, LocalSearchOperator.getCPtr(op), neighbor_found, Assignment.getCPtr(delta), Assignment.getCPtr(deltadelta));
66  }
67 
68  public virtual void BeginFilterNeighbor(LocalSearchOperator op) {
70  }
71 
72  public virtual void EndFilterNeighbor(LocalSearchOperator op, bool neighbor_found) {
74  }
75 
76  public virtual void BeginAcceptNeighbor(LocalSearchOperator op) {
78  }
79 
80  public virtual void EndAcceptNeighbor(LocalSearchOperator op, bool neighbor_found) {
82  }
83 
84  public virtual void BeginFiltering(LocalSearchFilter filter) {
86  }
87 
88  public virtual void EndFiltering(LocalSearchFilter filter, bool reject) {
90  }
91 
92  public override void Install() {
94  }
95 
96 }
97 
98 }
virtual void EndFiltering(LocalSearchFilter filter, bool reject)
virtual void BeginMakeNextNeighbor(LocalSearchOperator op)
virtual void EndMakeNextNeighbor(LocalSearchOperator op, bool neighbor_found, Assignment delta, Assignment deltadelta)
static void LocalSearchMonitor_BeginFilterNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
virtual void EndFilterNeighbor(LocalSearchOperator op, bool neighbor_found)
static void LocalSearchMonitor_BeginFiltering(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void LocalSearchMonitor_EndFilterNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static string LocalSearchMonitor_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr LocalSearchMonitor_SWIGUpcast(global::System.IntPtr jarg1)
static void LocalSearchMonitor_BeginOperatorStart(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LocalSearchMonitor_BeginAcceptNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void LocalSearchMonitor_BeginMakeNextNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void LocalSearchMonitor_EndMakeNextNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3, global::System.Runtime.InteropServices.HandleRef jarg4, global::System.Runtime.InteropServices.HandleRef jarg5)
static void LocalSearchMonitor_EndAcceptNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
static void LocalSearchMonitor_EndOperatorStart(global::System.Runtime.InteropServices.HandleRef jarg1)
virtual void BeginFilterNeighbor(LocalSearchOperator op)
virtual void BeginAcceptNeighbor(LocalSearchOperator op)
static void LocalSearchMonitor_Install(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_LocalSearchMonitor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void LocalSearchMonitor_EndFiltering(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2, bool jarg3)
virtual void BeginFiltering(LocalSearchFilter filter)
virtual void EndAcceptNeighbor(LocalSearchOperator op, bool neighbor_found)