Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
DefaultPhaseParameters.cs
Go to the documentation of this file.
1//------------------------------------------------------------------------------
2// <auto-generated />
3//
4// This file was automatically generated by SWIG (https://www.swig.org).
5// Version 4.2.1
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 DefaultPhaseParameters : global::System.IDisposable {
19 private global::System.Runtime.InteropServices.HandleRef swigCPtr;
20 protected bool swigCMemOwn;
21
22 internal DefaultPhaseParameters(global::System.IntPtr cPtr, bool cMemoryOwn) {
23 swigCMemOwn = cMemoryOwn;
24 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(this, cPtr);
25 }
26
27 internal static global::System.Runtime.InteropServices.HandleRef getCPtr(DefaultPhaseParameters obj) {
28 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
29 }
30
31 internal static global::System.Runtime.InteropServices.HandleRef swigRelease(DefaultPhaseParameters obj) {
32 if (obj != null) {
33 if (!obj.swigCMemOwn)
34 throw new global::System.ApplicationException("Cannot release ownership as memory is not owned");
35 global::System.Runtime.InteropServices.HandleRef ptr = obj.swigCPtr;
36 obj.swigCMemOwn = false;
37 obj.Dispose();
38 return ptr;
39 } else {
40 return new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
41 }
42 }
43
44 ~DefaultPhaseParameters() {
45 Dispose(false);
46 }
47
48 public void Dispose() {
49 Dispose(true);
50 global::System.GC.SuppressFinalize(this);
51 }
52
53 protected virtual void Dispose(bool disposing) {
54 lock(this) {
55 if (swigCPtr.Handle != global::System.IntPtr.Zero) {
56 if (swigCMemOwn) {
57 swigCMemOwn = false;
59 }
60 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
61 }
62 }
63 }
64
65 public int var_selection_schema {
66 set {
76 set {
86 set {
96 set {
106 set {
116 set {
126 set {
136 set {
146 set {
156 set {
166 set {
168 }
169 get {
171 DecisionBuilder ret = (cPtr == global::System.IntPtr.Zero) ? null : new DecisionBuilder(cPtr, false);
172 return ret;
173 }
174 }
175
176 public DefaultPhaseParameters() : this(operations_research_constraint_solverPINVOKE.new_DefaultPhaseParameters(), true) {
177 }
179 // VariableSelection
184 // ValueSelection
188 // DisplayLevel
194
195}
static readonly int CHOOSE_MAX_SUM_IMPACT
VariableSelection.
static bool DefaultPhaseParameters_run_all_heuristics_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DefaultPhaseParameters_random_seed_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DefaultPhaseParameters_heuristic_period_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DefaultPhaseParameters_heuristic_num_failures_limit_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DefaultPhaseParameters_value_selection_schema_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DefaultPhaseParameters_random_seed_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static global::System.IntPtr DefaultPhaseParameters_decision_builder_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool DefaultPhaseParameters_persistent_impact_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DefaultPhaseParameters_heuristic_num_failures_limit_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static int DefaultPhaseParameters_var_selection_schema_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DefaultPhaseParameters_initialization_splits_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static int DefaultPhaseParameters_display_level_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DefaultPhaseParameters_heuristic_period_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void DefaultPhaseParameters_initialization_splits_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void DefaultPhaseParameters_run_all_heuristics_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static bool DefaultPhaseParameters_use_last_conflict_get(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DefaultPhaseParameters_var_selection_schema_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void delete_DefaultPhaseParameters(global::System.Runtime.InteropServices.HandleRef jarg1)
static void DefaultPhaseParameters_display_level_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void DefaultPhaseParameters_decision_builder_set(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static void DefaultPhaseParameters_value_selection_schema_set(global::System.Runtime.InteropServices.HandleRef jarg1, int jarg2)
static void DefaultPhaseParameters_use_last_conflict_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)
static void DefaultPhaseParameters_persistent_impact_set(global::System.Runtime.InteropServices.HandleRef jarg1, bool jarg2)