DotNet Reference

.Net Reference

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 4.0.2
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
13using System;
14using System.Runtime.InteropServices;
15using System.Collections;
16using System.Collections.Generic;
17
18public 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 protected override void Dispose(bool disposing) {
30 lock(this) {
31 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
32 if (swigCMemOwn) {
33 swigCMemOwn = false;
35 }
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
37 }
38 base.Dispose(disposing);
39 }
40 }
41
42 public override void EnterSearch() {
44 }
45
46 public override void ExitSearch() {
48 }
49
50 public override bool AtSolution() {
52 return ret;
53 }
54
55 public override void BeginFail() {
57 }
58
59 public override void NoMoreSolutions() {
61 }
62
63 public override void AcceptUncheckedNeighbor() {
65 }
66
67 public override void ApplyDecision(Decision decision) {
69 }
70
71 public override void RefuteDecision(Decision decision) {
73 }
74
75 public void OutputDecision() {
77 }
78
79 public void Maintain() {
81 }
82
83 public override void BeginInitialPropagation() {
85 }
86
87 public override void EndInitialPropagation() {
89 }
90
91 public override string ToString() {
93 return ret;
94 }
95
96}
97
98}
override void ApplyDecision(Decision decision)
Definition: SearchLog.cs:67
override void RefuteDecision(Decision decision)
Definition: SearchLog.cs:71
override void Dispose(bool disposing)
Definition: SearchLog.cs:29
static bool SearchLog_AtSolution(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_EnterSearch(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_OutputDecision(global::System.Runtime.InteropServices.HandleRef jarg1)
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_Maintain(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_BeginInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr SearchLog_SWIGUpcast(global::System.IntPtr jarg1)
static void SearchLog_AcceptUncheckedNeighbor(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_EndInitialPropagation(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_NoMoreSolutions(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_BeginFail(global::System.Runtime.InteropServices.HandleRef jarg1)
static string SearchLog_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static void SearchLog_ExitSearch(global::System.Runtime.InteropServices.HandleRef jarg1)