![]() |
OR-Tools
9.0
|
Definition at line 468 of file constraint_solver_csharp_wrap.h.
Public Member Functions | |
| SwigDirector_RegularLimit (operations_research::Solver *const s, absl::Duration time, int64_t branches, int64_t failures, int64_t solutions, bool smart_time_check, bool cumulative) | |
| virtual | ~SwigDirector_RegularLimit () |
| virtual std::string | DebugString () const |
| virtual void | EnterSearch () |
| Internal methods. More... | |
| virtual void | RestartSearch () |
| Restart the search. More... | |
| virtual void | ExitSearch () |
| End of the search. More... | |
| virtual void | BeginNextDecision (operations_research::DecisionBuilder *const b) |
| Before calling DecisionBuilder::Next. More... | |
| virtual void | EndNextDecision (operations_research::DecisionBuilder *const b, operations_research::Decision *const d) |
| After calling DecisionBuilder::Next, along with the returned decision. More... | |
| virtual void | ApplyDecision (operations_research::Decision *const d) |
| Before applying the decision. More... | |
| virtual void | RefuteDecision (operations_research::Decision *const d) |
| Before refuting the decision. More... | |
| virtual void | AfterDecision (operations_research::Decision *const d, bool apply) |
| Just after refuting or applying the decision, apply is true after Apply. More... | |
| virtual void | BeginFail () |
| Just when the failure occurs. More... | |
| virtual void | EndFail () |
| After completing the backtrack. More... | |
| virtual void | BeginInitialPropagation () |
| Before the initial propagation. More... | |
| virtual void | EndInitialPropagation () |
| After the initial propagation. More... | |
| virtual bool | AcceptSolution () |
| This method is called when a solution is found. More... | |
| virtual bool | AtSolution () |
| This method is called when a valid solution is found. More... | |
| virtual void | NoMoreSolutions () |
| When the search tree is finished. More... | |
| virtual bool | LocalOptimum () |
| When a local optimum is reached. More... | |
| virtual bool | AcceptDelta (operations_research::Assignment *delta, operations_research::Assignment *deltadelta) |
| virtual void | AcceptNeighbor () |
| After accepting a neighbor during local search. More... | |
| virtual void | AcceptUncheckedNeighbor () |
| After accepting an unchecked neighbor during local search. More... | |
| virtual bool | IsUncheckedSolutionLimitReached () |
| Returns true if the limit of solutions has been reached including unchecked solutions. More... | |
| virtual void | PeriodicCheck () |
| Periodic call to check limits in long running methods. More... | |
| virtual int | ProgressPercent () |
| Returns a percentage representing the propress of the search before reaching limits. More... | |
| virtual void | Accept (operations_research::ModelVisitor *const visitor) const |
| Accepts the given model visitor. More... | |
| virtual void | Install () |
| Registers itself on the solver such that it gets notified of the search and propagation events. More... | |
| virtual bool | Check () |
| This method is called to check the status of the limit. More... | |
| virtual void | Init () |
| This method is called when the search limit is initialized. More... | |
| virtual void | Copy (operations_research::SearchLimit const *const limit) |
| Copy a limit. More... | |
| virtual operations_research::SearchLimit * | MakeClone () const |
| Allocates a clone of the limit. More... | |
| void | swig_connect_director (SWIG_Callback0_t callbackToString, SWIG_Callback1_t callbackEnterSearch, SWIG_Callback2_t callbackRestartSearch, SWIG_Callback3_t callbackExitSearch, SWIG_Callback4_t callbackBeginNextDecision, SWIG_Callback5_t callbackEndNextDecision, SWIG_Callback6_t callbackApplyDecision, SWIG_Callback7_t callbackRefuteDecision, SWIG_Callback8_t callbackAfterDecision, SWIG_Callback9_t callbackBeginFail, SWIG_Callback10_t callbackEndFail, SWIG_Callback11_t callbackBeginInitialPropagation, SWIG_Callback12_t callbackEndInitialPropagation, SWIG_Callback13_t callbackAcceptSolution, SWIG_Callback14_t callbackAtSolution, SWIG_Callback15_t callbackNoMoreSolutions, SWIG_Callback16_t callbackLocalOptimum, SWIG_Callback17_t callbackAcceptDelta, SWIG_Callback18_t callbackAcceptNeighbor, SWIG_Callback19_t callbackAcceptUncheckedNeighbor, SWIG_Callback20_t callbackIsUncheckedSolutionLimitReached, SWIG_Callback21_t callbackPeriodicCheck, SWIG_Callback22_t callbackProgressPercent, SWIG_Callback23_t callbackAccept, SWIG_Callback24_t callbackInstall, SWIG_Callback25_t callbackCheck, SWIG_Callback26_t callbackInit, SWIG_Callback27_t callbackCopy, SWIG_Callback28_t callbackMakeClone) |
| RegularLimit * | MakeIdenticalClone () const |
| void | UpdateLimits (absl::Duration time, int64_t branches, int64_t failures, int64_t solutions) |
| absl::Duration | duration_limit () const |
| int64_t | wall_time () const |
| int64_t | branches () const |
| int64_t | failures () const |
| int64_t | solutions () const |
| absl::Time | AbsoluteSolverDeadline () const |
| bool | crossed () const |
| Returns true if the limit has been crossed. More... | |
| Solver * | solver () const |
| bool | swig_set_self (JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) |
| bool | swig_set_self (JNIEnv *jenv, jobject jself, bool mem_own, bool weak_global) |
| jobject | swig_get_self (JNIEnv *jenv) const |
| PyObject * | swig_get_self () const |
| jobject | swig_get_self (JNIEnv *jenv) const |
| PyObject * | swig_get_self () const |
| void | swig_java_change_ownership (JNIEnv *jenv, jobject jself, bool take_or_release) |
| void | swig_java_change_ownership (JNIEnv *jenv, jobject jself, bool take_or_release) |
| void | swig_disown () const |
| void | swig_disown () const |
| void | swig_incref () const |
| void | swig_incref () const |
| virtual bool | swig_get_inner (const char *) const |
| virtual bool | swig_get_inner (const char *) const |
| virtual void | swig_set_inner (const char *, bool) const |
| virtual void | swig_set_inner (const char *, bool) const |
| template<typename Type > | |
| void | swig_acquire_ownership_array (Type *vptr) const |
| template<typename Type > | |
| void | swig_acquire_ownership_array (Type *vptr) const |
| template<typename Type > | |
| void | swig_acquire_ownership (Type *vptr) const |
| template<typename Type > | |
| void | swig_acquire_ownership (Type *vptr) const |
| void | swig_acquire_ownership_obj (void *vptr, int own) const |
| void | swig_acquire_ownership_obj (void *vptr, int own) const |
| int | swig_release_ownership (void *vptr) const |
| int | swig_release_ownership (void *vptr) const |
Static Public Member Functions | |
| template<typename Type > | |
| static PyObject * | swig_pyobj_disown (PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args)) |
| template<typename Type > | |
| static PyObject * | swig_pyobj_disown (PyObject *pyobj, PyObject *SWIGUNUSEDPARM(args)) |
Static Public Attributes | |
| static constexpr int | kNoProgress = -1 |
Protected Member Functions | |
| void | swig_disconnect_director_self (const char *disconn_method) |
| void | swig_disconnect_director_self (const char *disconn_method) |
Protected Attributes | |
| JObjectWrapper | swig_self_ |
| typedef char*(SWIGSTDCALL* SWIG_Callback0_t) () |
Definition at line 503 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback10_t) () |
Definition at line 513 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback11_t) () |
Definition at line 514 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback12_t) () |
Definition at line 515 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback13_t) () |
Definition at line 516 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback14_t) () |
Definition at line 517 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback15_t) () |
Definition at line 518 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback16_t) () |
Definition at line 519 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback17_t) (void *, void *) |
Definition at line 520 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback18_t) () |
Definition at line 521 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback19_t) () |
Definition at line 522 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback1_t) () |
Definition at line 504 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback20_t) () |
Definition at line 523 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback21_t) () |
Definition at line 524 of file constraint_solver_csharp_wrap.h.
| typedef int(SWIGSTDCALL* SWIG_Callback22_t) () |
Definition at line 525 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback23_t) (void *) |
Definition at line 526 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback24_t) () |
Definition at line 527 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback25_t) () |
Definition at line 528 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback26_t) () |
Definition at line 529 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback27_t) (void *) |
Definition at line 530 of file constraint_solver_csharp_wrap.h.
| typedef void*(SWIGSTDCALL* SWIG_Callback28_t) () |
Definition at line 531 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback2_t) () |
Definition at line 505 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback3_t) () |
Definition at line 506 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback4_t) (void *) |
Definition at line 507 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback5_t) (void *, void *) |
Definition at line 508 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback6_t) (void *) |
Definition at line 509 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback7_t) (void *) |
Definition at line 510 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback8_t) (void *, unsigned int) |
Definition at line 511 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback9_t) () |
Definition at line 512 of file constraint_solver_csharp_wrap.h.
| SwigDirector_RegularLimit | ( | operations_research::Solver *const | s, |
| absl::Duration | time, | ||
| int64_t | branches, | ||
| int64_t | failures, | ||
| int64_t | solutions, | ||
| bool | smart_time_check, | ||
| bool | cumulative | ||
| ) |
Definition at line 3769 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Definition at line 3773 of file constraint_solver_csharp_wrap.cc.
|
inlineinherited |
Definition at line 4312 of file constraint_solver.h.
|
virtual |
Accepts the given model visitor.
Reimplemented from RegularLimit.
Definition at line 4040 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from SearchMonitor.
Definition at line 3970 of file constraint_solver_csharp_wrap.cc.
|
virtual |
After accepting a neighbor during local search.
Reimplemented from SearchMonitor.
Definition at line 3987 of file constraint_solver_csharp_wrap.cc.
|
virtual |
This method is called when a solution is found.
It asserts whether the solution is valid. A value of false indicates that the solution should be discarded.
Reimplemented from SearchMonitor.
Definition at line 3922 of file constraint_solver_csharp_wrap.cc.
|
virtual |
After accepting an unchecked neighbor during local search.
Reimplemented from SearchMonitor.
Definition at line 3996 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Just after refuting or applying the decision, apply is true after Apply.
This is called only if the Apply() or Refute() methods have not failed.
Reimplemented from SearchMonitor.
Definition at line 3872 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Before applying the decision.
Reimplemented from SearchMonitor.
Definition at line 3848 of file constraint_solver_csharp_wrap.cc.
|
virtual |
This method is called when a valid solution is found.
If the return value is true, then search will resume after. If the result is false, then search will stop there.
Reimplemented from SearchMonitor.
Definition at line 3935 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Just when the failure occurs.
Reimplemented from SearchMonitor.
Definition at line 3886 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Before the initial propagation.
Reimplemented from SearchMonitor.
Definition at line 3904 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Before calling DecisionBuilder::Next.
Reimplemented from SearchLimit.
Definition at line 3822 of file constraint_solver_csharp_wrap.cc.
|
inlineinherited |
Definition at line 4305 of file constraint_solver.h.
|
virtual |
This method is called to check the status of the limit.
A return value of true indicates that we have indeed crossed the limit. In that case, this method will not be called again and the remaining search will be discarded.
Reimplemented from RegularLimit.
Definition at line 4061 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Copy a limit.
Warning: leads to a direct (no check) downcasting of 'limit' so one needs to be sure both SearchLimits are of the same type.
Reimplemented from RegularLimit.
Definition at line 4083 of file constraint_solver_csharp_wrap.cc.
|
inlineinherited |
Returns true if the limit has been crossed.
Definition at line 4249 of file constraint_solver.h.
|
virtual |
Reimplemented from RegularLimit.
Definition at line 3778 of file constraint_solver_csharp_wrap.cc.
|
inlineinherited |
Definition at line 4299 of file constraint_solver.h.
|
virtual |
After completing the backtrack.
Reimplemented from SearchMonitor.
Definition at line 3895 of file constraint_solver_csharp_wrap.cc.
|
virtual |
After the initial propagation.
Reimplemented from SearchMonitor.
Definition at line 3913 of file constraint_solver_csharp_wrap.cc.
|
virtual |
After calling DecisionBuilder::Next, along with the returned decision.
Reimplemented from SearchMonitor.
Definition at line 3834 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Internal methods.
Reimplemented from SearchLimit.
Definition at line 3795 of file constraint_solver_csharp_wrap.cc.
|
virtual |
End of the search.
Reimplemented from RegularLimit.
Definition at line 3813 of file constraint_solver_csharp_wrap.cc.
|
inlineinherited |
Definition at line 4306 of file constraint_solver.h.
|
virtual |
This method is called when the search limit is initialized.
Reimplemented from RegularLimit.
Definition at line 4074 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Registers itself on the solver such that it gets notified of the search and propagation events.
Reimplemented from SearchMonitor.
Definition at line 4052 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Returns true if the limit of solutions has been reached including unchecked solutions.
Reimplemented from RegularLimit.
Definition at line 4005 of file constraint_solver_csharp_wrap.cc.
|
virtual |
When a local optimum is reached.
If 'true' is returned, the last solution is discarded and the search proceeds with the next one.
Reimplemented from SearchMonitor.
Definition at line 3957 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Allocates a clone of the limit.
Reimplemented from RegularLimit.
Definition at line 4095 of file constraint_solver_csharp_wrap.cc.
|
inherited |
|
virtual |
When the search tree is finished.
Reimplemented from SearchMonitor.
Definition at line 3948 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Periodic call to check limits in long running methods.
Reimplemented from SearchLimit.
Definition at line 4018 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Returns a percentage representing the propress of the search before reaching limits.
Reimplemented from RegularLimit.
Definition at line 4027 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Before refuting the decision.
Reimplemented from SearchLimit.
Definition at line 3860 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Restart the search.
Reimplemented from SearchMonitor.
Definition at line 3804 of file constraint_solver_csharp_wrap.cc.
|
inlineinherited |
Definition at line 4307 of file constraint_solver.h.
|
inlineinherited |
Definition at line 3711 of file constraint_solver.h.
|
inlineinherited |
Definition at line 3053 of file constraint_solver_python_wrap.cc.
|
inlineinherited |
Definition at line 3054 of file sat_python_wrap.cc.
|
inlineinherited |
Definition at line 3045 of file constraint_solver_python_wrap.cc.
|
inlineinherited |
Definition at line 3046 of file sat_python_wrap.cc.
|
inlineinherited |
Definition at line 3060 of file constraint_solver_python_wrap.cc.
|
inlineinherited |
Definition at line 3061 of file sat_python_wrap.cc.
| void swig_connect_director | ( | SWIG_Callback0_t | callbackToString, |
| SWIG_Callback1_t | callbackEnterSearch, | ||
| SWIG_Callback2_t | callbackRestartSearch, | ||
| SWIG_Callback3_t | callbackExitSearch, | ||
| SWIG_Callback4_t | callbackBeginNextDecision, | ||
| SWIG_Callback5_t | callbackEndNextDecision, | ||
| SWIG_Callback6_t | callbackApplyDecision, | ||
| SWIG_Callback7_t | callbackRefuteDecision, | ||
| SWIG_Callback8_t | callbackAfterDecision, | ||
| SWIG_Callback9_t | callbackBeginFail, | ||
| SWIG_Callback10_t | callbackEndFail, | ||
| SWIG_Callback11_t | callbackBeginInitialPropagation, | ||
| SWIG_Callback12_t | callbackEndInitialPropagation, | ||
| SWIG_Callback13_t | callbackAcceptSolution, | ||
| SWIG_Callback14_t | callbackAtSolution, | ||
| SWIG_Callback15_t | callbackNoMoreSolutions, | ||
| SWIG_Callback16_t | callbackLocalOptimum, | ||
| SWIG_Callback17_t | callbackAcceptDelta, | ||
| SWIG_Callback18_t | callbackAcceptNeighbor, | ||
| SWIG_Callback19_t | callbackAcceptUncheckedNeighbor, | ||
| SWIG_Callback20_t | callbackIsUncheckedSolutionLimitReached, | ||
| SWIG_Callback21_t | callbackPeriodicCheck, | ||
| SWIG_Callback22_t | callbackProgressPercent, | ||
| SWIG_Callback23_t | callbackAccept, | ||
| SWIG_Callback24_t | callbackInstall, | ||
| SWIG_Callback25_t | callbackCheck, | ||
| SWIG_Callback26_t | callbackInit, | ||
| SWIG_Callback27_t | callbackCopy, | ||
| SWIG_Callback28_t | callbackMakeClone | ||
| ) |
Definition at line 4108 of file constraint_solver_csharp_wrap.cc.
|
inlineprotectedinherited |
Definition at line 488 of file constraint_solver_java_wrap.cc.
|
inlineprotectedinherited |
Definition at line 471 of file sat_java_wrap.cc.
|
inlineinherited |
Definition at line 3013 of file constraint_solver_python_wrap.cc.
|
inlineinherited |
Definition at line 3014 of file sat_python_wrap.cc.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_SolutionCallback, SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, and SwigDirector_BaseObject.
Definition at line 3028 of file constraint_solver_python_wrap.cc.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_SolutionCallback, SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, and SwigDirector_BaseObject.
Definition at line 3029 of file sat_python_wrap.cc.
|
inlineinherited |
Definition at line 3008 of file constraint_solver_python_wrap.cc.
|
inlineinherited |
Definition at line 3009 of file sat_python_wrap.cc.
|
inlineinherited |
Definition at line 523 of file constraint_solver_java_wrap.cc.
|
inlineinherited |
Definition at line 506 of file sat_java_wrap.cc.
|
inlineinherited |
Definition at line 3021 of file constraint_solver_python_wrap.cc.
|
inlineinherited |
Definition at line 3022 of file sat_python_wrap.cc.
|
inlineinherited |
Definition at line 528 of file constraint_solver_java_wrap.cc.
|
inlineinherited |
Definition at line 511 of file sat_java_wrap.cc.
|
inlinestaticinherited |
Definition at line 3081 of file constraint_solver_python_wrap.cc.
|
inlinestaticinherited |
Definition at line 3082 of file sat_python_wrap.cc.
|
inlineinherited |
Definition at line 3067 of file constraint_solver_python_wrap.cc.
|
inlineinherited |
Definition at line 3068 of file sat_python_wrap.cc.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_SolutionCallback, SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, and SwigDirector_BaseObject.
Definition at line 3032 of file constraint_solver_python_wrap.cc.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_SolutionCallback, SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, and SwigDirector_BaseObject.
Definition at line 3033 of file sat_python_wrap.cc.
|
inlineinherited |
Definition at line 519 of file constraint_solver_java_wrap.cc.
|
inlineinherited |
Definition at line 502 of file sat_java_wrap.cc.
|
inherited |
|
inlineinherited |
Definition at line 4300 of file constraint_solver.h.
|
staticconstexprinherited |
Definition at line 3640 of file constraint_solver.h.
|
protectedinherited |
Definition at line 485 of file constraint_solver_java_wrap.cc.