Google OR-Tools v9.14
a fast and portable software suite for combinatorial optimization
Loading...
Searching...
No Matches
Google.OrTools.ConstraintSolver.NetDemon Class Reference

Detailed Description

Definition at line 108 of file NetDecisionBuilder.cs.

Inheritance diagram for Google.OrTools.ConstraintSolver.NetDemon:
Google.OrTools.ConstraintSolver.Demon Google.OrTools.ConstraintSolver.BaseObject

Public Member Functions

override void RunWrapper (Solver solver)
virtual void Run (Solver solver)
override int Priority ()
override string ToString ()
Public Member Functions inherited from Google.OrTools.ConstraintSolver.Demon
 Demon ()
void Inhibit (Solver s)
void Desinhibit (Solver s)
delegate string SwigDelegateDemon_0 ()
delegate void SwigDelegateDemon_1 (global::System.IntPtr s)
delegate int SwigDelegateDemon_2 ()
Public Member Functions inherited from Google.OrTools.ConstraintSolver.BaseObject
void Dispose ()
 BaseObject ()

Additional Inherited Members

Protected Member Functions inherited from Google.OrTools.ConstraintSolver.Demon
override void Dispose (bool disposing)
Protected Attributes inherited from Google.OrTools.ConstraintSolver.BaseObject
bool swigCMemOwn

Member Function Documentation

◆ Priority()

override int Google.OrTools.ConstraintSolver.NetDemon.Priority ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.Demon.

Definition at line 132 of file NetDecisionBuilder.cs.

◆ Run()

virtual void Google.OrTools.ConstraintSolver.NetDemon.Run ( Solver solver)
inlinevirtual

This is the new method to subclass when defining a .Net decision builder.

Definition at line 129 of file NetDecisionBuilder.cs.

◆ RunWrapper()

override void Google.OrTools.ConstraintSolver.NetDemon.RunWrapper ( Solver solver)
inlinevirtual

This methods wraps the calls to next() and catches fail exceptions.

Todo
(user): Check that this is indeed a fail. Try implementing custom exceptions (hard).

Reimplemented from Google.OrTools.ConstraintSolver.Demon.

Definition at line 113 of file NetDecisionBuilder.cs.

◆ ToString()

override string Google.OrTools.ConstraintSolver.NetDemon.ToString ( )
inlinevirtual

Reimplemented from Google.OrTools.ConstraintSolver.Demon.

Definition at line 136 of file NetDecisionBuilder.cs.


The documentation for this class was generated from the following file: