DotNet Reference
DotNet Reference
RegularLimit.cs
Go to the documentation of this file.
21 internal RegularLimit(global::System.IntPtr cPtr, bool cMemoryOwn) : base(operations_research_constraint_solverPINVOKE.RegularLimit_SWIGUpcast(cPtr), cMemoryOwn) {
26 return (obj == null) ? new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero) : obj.swigCPtr;
36 swigCPtr = new global::System.Runtime.InteropServices.HandleRef(null, global::System.IntPtr.Zero);
42 public RegularLimit(Solver s, long time, long branches, long failures, long solutions, bool smart_time_check, bool cumulative) : this(operations_research_constraint_solverPINVOKE.new_RegularLimit(Solver.getCPtr(s), time, branches, failures, solutions, smart_time_check, cumulative), true) {
46 operations_research_constraint_solverPINVOKE.RegularLimit_Copy(swigCPtr, SearchLimit.getCPtr(limit));
50 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RegularLimit_MakeClone(swigCPtr);
56 global::System.IntPtr cPtr = operations_research_constraint_solverPINVOKE.RegularLimit_MakeIdenticalClone(swigCPtr);
75 operations_research_constraint_solverPINVOKE.RegularLimit_UpdateLimits(swigCPtr, time, branches, failures, solutions);
79 SWIGTYPE_p_absl__Duration ret = new SWIGTYPE_p_absl__Duration(operations_research_constraint_solverPINVOKE.RegularLimit_DurationLimit(swigCPtr), true);
104 bool ret = operations_research_constraint_solverPINVOKE.RegularLimit_IsUncheckedSolutionLimitReached(swigCPtr);
119 SWIGTYPE_p_absl__Time ret = new SWIGTYPE_p_absl__Time(operations_research_constraint_solverPINVOKE.RegularLimit_AbsoluteSolverDeadline(swigCPtr), true);
124 operations_research_constraint_solverPINVOKE.RegularLimit_Accept(swigCPtr, ModelVisitor.getCPtr(visitor));
override bool IsUncheckedSolutionLimitReached()
Definition: RegularLimit.cs:103
override void ExitSearch()
Definition: RegularLimit.cs:70
SWIGTYPE_p_absl__Time AbsoluteSolverDeadline()
Definition: RegularLimit.cs:118
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RegularLimit_SWIGUpcast
static global::System.IntPtr RegularLimit_SWIGUpcast(global::System.IntPtr jarg1)
void UpdateLimits(long time, long branches, long failures, long solutions)
Definition: RegularLimit.cs:74
static global::System.IntPtr RegularLimit_AbsoluteSolverDeadline(global::System.Runtime.InteropServices.HandleRef jarg1)
static void delete_RegularLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_Copy(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
static bool RegularLimit_IsUncheckedSolutionLimitReached(global::System.Runtime.InteropServices.HandleRef jarg1)
Definition: Assignment.cs:11
long Solutions()
Definition: RegularLimit.cs:98
static long RegularLimit_WallTime(global::System.Runtime.InteropServices.HandleRef jarg1)
SWIGTYPE_p_absl__Duration DurationLimit()
Definition: RegularLimit.cs:78
static void RegularLimit_Init(global::System.Runtime.InteropServices.HandleRef jarg1)
static string RegularLimit_ToString(global::System.Runtime.InteropServices.HandleRef jarg1)
static bool RegularLimit_Check(global::System.Runtime.InteropServices.HandleRef jarg1)
override bool Check()
Definition: RegularLimit.cs:61
override void Accept(ModelVisitor visitor)
Definition: RegularLimit.cs:123
static void RegularLimit_UpdateLimits(global::System.Runtime.InteropServices.HandleRef jarg1, long jarg2, long jarg3, long jarg4, long jarg5)
static long RegularLimit_Branches(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RegularLimit_MakeIdenticalClone(global::System.Runtime.InteropServices.HandleRef jarg1)
Google.OrTools.ConstraintSolver.operations_research_constraint_solverPINVOKE.RegularLimit_ExitSearch
static void RegularLimit_ExitSearch(global::System.Runtime.InteropServices.HandleRef jarg1)
RegularLimit(Solver s, long time, long branches, long failures, long solutions, bool smart_time_check, bool cumulative)
Definition: RegularLimit.cs:42
static long RegularLimit_Failures(global::System.Runtime.InteropServices.HandleRef jarg1)
RegularLimit MakeIdenticalClone()
Definition: RegularLimit.cs:55
static global::System.IntPtr RegularLimit_DurationLimit(global::System.Runtime.InteropServices.HandleRef jarg1)
override void Dispose(bool disposing)
Definition: RegularLimit.cs:29
static int RegularLimit_ProgressPercent(global::System.Runtime.InteropServices.HandleRef jarg1)
static void RegularLimit_Accept(global::System.Runtime.InteropServices.HandleRef jarg1, global::System.Runtime.InteropServices.HandleRef jarg2)
override SearchLimit MakeClone()
Definition: RegularLimit.cs:49
override int ProgressPercent()
Definition: RegularLimit.cs:108
override void Copy(SearchLimit limit)
Definition: RegularLimit.cs:45
override string ToString()
Definition: RegularLimit.cs:113
static long RegularLimit_Solutions(global::System.Runtime.InteropServices.HandleRef jarg1)
static global::System.IntPtr RegularLimit_MakeClone(global::System.Runtime.InteropServices.HandleRef jarg1)