Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
override void | ApplyWrapper (Solver solver) |
virtual void | Apply (Solver solver) |
override void | RefuteWrapper (Solver solver) |
virtual void | Refute (Solver solver) |
Public Member Functions inherited from Google.OrTools.ConstraintSolver.Decision | |
Decision () | |
override string | ToString () |
virtual void | Accept (DecisionVisitor visitor) |
delegate string | SwigDelegateDecision_0 () |
delegate void | SwigDelegateDecision_1 (global::System.IntPtr s) |
delegate void | SwigDelegateDecision_2 (global::System.IntPtr s) |
delegate void | SwigDelegateDecision_3 (global::System.IntPtr visitor) |
Public Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject | |
void | Dispose () |
BaseObject () | |
Additional Inherited Members | |
Protected Member Functions inherited from Google.OrTools.ConstraintSolver.Decision | |
override void | Dispose (bool disposing) |
Protected Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject | |
Protected Attributes inherited from Google.OrTools.ConstraintSolver.BaseObject | |
bool | swigCMemOwn |
Package Functions inherited from Google.OrTools.ConstraintSolver.Decision | |
Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject | |
Static Package Functions inherited from Google.OrTools.ConstraintSolver.Decision | |
Static Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject |
This class acts as a intermediate step between a c++ decision and a .Net one. Its main purpose is to catch the .Net application exception launched when a failure occurs during the Apply()/Refute() calls, and to set the ShouldFail() flag on the solver that will propagate the failure back to the C++ code.
Definition at line 62 of file NetDecisionBuilder.cs.
|
inlinevirtual |
This is a new method to subclass when defining a .Net decision.
By default, do nothing
Definition at line 83 of file NetDecisionBuilder.cs.
|
inlinevirtual |
This methods wraps the calls to Apply() and catches fail exceptions. It currently catches all application exceptions.
Reimplemented from Google.OrTools.ConstraintSolver.Decision.
Definition at line 68 of file NetDecisionBuilder.cs.
|
inlinevirtual |
This is a new method to subclass when defining a .Net decision.
Definition at line 103 of file NetDecisionBuilder.cs.
|
inlinevirtual |
Reimplemented from Google.OrTools.ConstraintSolver.Decision.
Definition at line 88 of file NetDecisionBuilder.cs.