SearchLog.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 SearchLog : SearchMonitor {
19  private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20 
21  internal SearchLog(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.SearchLog_SWIGUpcast(cPtr), cMemoryOwn) {
22  swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
23  }
24 
25  internal static global::System.Runtime.InteropServices.HandleRef getCPtr(SearchLog obj) {
26  return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
27  }
28 
29  ~SearchLog() {
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 void EnterSearch() {
49  }
50 
51  public override void ExitSearch() {
53  }
54 
55  public override bool AtSolution() {
57  return ret;
58  }
59 
60  public override void BeginFail() {
62  }
63 
64  public override void NoMoreSolutions() {
66  }
67 
68  public override void AcceptUncheckedNeighbor() {
70  }
71 
72  public override void ApplyDecision(Decision decision) {
74  }
75 
76  public override void RefuteDecision(Decision decision) {
78  }
79 
80  public void OutputDecision() {
82  }
83 
84  public void Maintain() {
86  }
87 
88  public override void BeginInitialPropagation() {
90  }
91 
92  public override void EndInitialPropagation() {
94  }
95 
96  public override string ToString() {
98  return ret;
99  }
100 
101 }
102 
103 }
static void SearchLog_EndInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr SearchLog_SWIGUpcast(global::System.IntPtr jarg1)
static void SearchLog_NoMoreSolutions(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_ExitSearch(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool SearchLog_AtSolution(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_Maintain(global::System.Runtime.InteropServices.HandleRef jarg1)
override void ApplyDecision(Decision decision)
Definition: SearchLog.cs:72
static void SearchLog_EnterSearch(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_OutputDecision(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_BeginFail(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_ApplyDecision(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void SearchLog_RefuteDecision(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void delete_SearchLog(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_AcceptUncheckedNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_BeginInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1)
override void RefuteDecision(Decision decision)
Definition: SearchLog.cs:76
static string SearchLog_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)