Google OR-Tools v9.11
a fast and portable software suite for combinatorial optimization
|
Public Member Functions | |
override Decision | NextWrapper (Solver solver) |
virtual Decision | Next (Solver solver) |
Public Member Functions inherited from Google.OrTools.ConstraintSolver.DecisionBuilder | |
DecisionBuilder () | |
override string | ToString () |
void | SetName (string name) |
string | GetName () |
delegate string | SwigDelegateDecisionBuilder_0 () |
delegate global::System.IntPtr | SwigDelegateDecisionBuilder_1 (global::System.IntPtr s) |
Public Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject | |
void | Dispose () |
BaseObject () | |
Additional Inherited Members | |
Protected Member Functions inherited from Google.OrTools.ConstraintSolver.DecisionBuilder | |
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.DecisionBuilder | |
Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject | |
Static Package Functions inherited from Google.OrTools.ConstraintSolver.DecisionBuilder | |
Static Package Functions inherited from Google.OrTools.ConstraintSolver.BaseObject |
This class acts as a intermediate step between a c++ decision builder and a .Net one. Its main purpose is to catch the .Net application exception launched when a failure occurs during the Next() call, and to return silently a System.ApplicationException that will propagate the failure back to the C++ code.
Definition at line 27 of file NetDecisionBuilder.cs.
|
inlinevirtual |
This is the new method to subclass when defining a .Net decision builder.
Definition at line 48 of file NetDecisionBuilder.cs.
|
inlinevirtual |
This methods wraps the calls to next() and catches fail exceptions. It currently catches all application exceptions.
Reimplemented from Google.OrTools.ConstraintSolver.DecisionBuilder.
Definition at line 33 of file NetDecisionBuilder.cs.