![]() |
OR-Tools
9.2
|
Definition at line 77 of file constraint_solver_csharp_wrap.h.
Public Types | |
| typedef char *(SWIGSTDCALL * | SWIG_Callback0_t) () |
| typedef char *(SWIGSTDCALL * | SWIG_Callback1_t) () |
| typedef char *(SWIGSTDCALL * | SWIG_Callback2_t) () |
| typedef void(SWIGSTDCALL * | SWIG_Callback3_t) () |
| typedef void(SWIGSTDCALL * | SWIG_Callback4_t) () |
Public Member Functions | |
| SwigDirector_Constraint (operations_research::Solver *const solver) | |
| virtual | ~SwigDirector_Constraint () |
| virtual std::string | DebugString () const |
| virtual std::string | name () const |
| Object naming. More... | |
| virtual std::string | BaseName () const |
| Returns a base name for automatic naming. More... | |
| virtual void | Post () |
| This method is called when the constraint is processed by the solver. More... | |
| virtual void | InitialPropagate () |
| This method performs the initial propagation of the constraint. More... | |
| void | swig_connect_director (SWIG_Callback0_t callbackToString, SWIG_Callback1_t callbackName, SWIG_Callback2_t callbackBaseName, SWIG_Callback3_t callbackPost, SWIG_Callback4_t callbackInitialPropagateWrapper) |
| SwigDirector_Constraint (PyObject *self, operations_research::Solver *const solver) | |
| virtual | ~SwigDirector_Constraint () |
| virtual std::string | DebugString () const |
| virtual std::string | name () const |
| Object naming. More... | |
| virtual void | Post () |
| This method is called when the constraint is processed by the solver. More... | |
| virtual void | InitialPropagate () |
| This method performs the initial propagation of the constraint. More... | |
| virtual void | Accept (operations_research::ModelVisitor *const visitor) const |
| Accepts the given visitor. More... | |
| virtual operations_research::IntVar * | Var () |
| Creates a Boolean variable representing the status of the constraint (false = constraint is violated, true = constraint is satisfied). More... | |
| bool | swig_get_inner (const char *swig_protected_method_name) const |
| void | swig_set_inner (const char *swig_protected_method_name, bool swig_val) const |
| void | PostAndPropagate () |
| Calls Post and then Propagate to initialize the constraints. More... | |
| bool | IsCastConstraint () const |
| Is the constraint created by a cast from expression to integer variable? More... | |
| Solver * | solver () const |
| void | FreezeQueue () |
| This method freezes the propagation queue. More... | |
| void | UnfreezeQueue () |
| This method unfreezes the propagation queue. More... | |
| void | EnqueueDelayedDemon (Demon *const d) |
| This method pushes the demon onto the propagation queue. More... | |
| void | EnqueueVar (Demon *const d) |
| void | ExecuteAll (const SimpleRevFIFO< Demon * > &demons) |
| void | EnqueueAll (const SimpleRevFIFO< Demon * > &demons) |
| void | set_action_on_fail (Solver::Action a) |
| void | reset_action_on_fail () |
| This method clears the failure callback. More... | |
| void | set_variable_to_clean_on_fail (IntVar *v) |
| Shortcut for variable cleaner. More... | |
| void | set_name (const std::string &name) |
| bool | HasName () const |
| Returns whether the object has been named or not. More... | |
| 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 |
| 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)) |
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 88 of file constraint_solver_csharp_wrap.h.
| typedef char *(SWIGSTDCALL * SWIG_Callback1_t) () |
Definition at line 89 of file constraint_solver_csharp_wrap.h.
| typedef char *(SWIGSTDCALL * SWIG_Callback2_t) () |
Definition at line 90 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL * SWIG_Callback3_t) () |
Definition at line 91 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL * SWIG_Callback4_t) () |
Definition at line 92 of file constraint_solver_csharp_wrap.h.
| SwigDirector_Constraint | ( | operations_research::Solver *const | solver | ) |
Definition at line 2197 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Definition at line 2201 of file constraint_solver_csharp_wrap.cc.
| SwigDirector_Constraint | ( | PyObject * | self, |
| operations_research::Solver *const | solver | ||
| ) |
Definition at line 5039 of file constraint_solver_python_wrap.cc.
|
virtual |
|
virtual |
Accepts the given visitor.
Reimplemented from Constraint.
Definition at line 5167 of file constraint_solver_python_wrap.cc.
|
virtual |
Returns a base name for automatic naming.
Reimplemented from PropagationBaseObject.
Definition at line 2240 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from Constraint.
Definition at line 2206 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from Constraint.
|
inherited |
Definition at line 2527 of file constraint_solver.cc.
|
inlineinherited |
This method pushes the demon onto the propagation queue.
It will be processed directly if the queue is empty. It will be enqueued according to its priority otherwise.
Definition at line 3209 of file constraint_solver.h.
|
inlineinherited |
Definition at line 3210 of file constraint_solver.h.
|
inherited |
Definition at line 2523 of file constraint_solver.cc.
|
inlineinherited |
This method freezes the propagation queue.
It is useful when you need to apply multiple modifications at once.
Definition at line 3200 of file constraint_solver.h.
|
inherited |
Returns whether the object has been named or not.
Definition at line 2519 of file constraint_solver.cc.
|
virtual |
This method performs the initial propagation of the constraint.
It is called just after the post.
Implements Constraint.
Definition at line 2266 of file constraint_solver_csharp_wrap.cc.
|
virtual |
This method performs the initial propagation of the constraint.
It is called just after the post.
Implements Constraint.
|
inherited |
Is the constraint created by a cast from expression to integer variable?
Definition at line 3300 of file constraint_solver.cc.
|
virtual |
Object naming.
Reimplemented from PropagationBaseObject.
Definition at line 2223 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Object naming.
Reimplemented from PropagationBaseObject.
|
virtual |
This method is called when the constraint is processed by the solver.
Its main usage is to attach demons to variables.
Implements Constraint.
Definition at line 2257 of file constraint_solver_csharp_wrap.cc.
|
virtual |
This method is called when the constraint is processed by the solver.
Its main usage is to attach demons to variables.
Implements Constraint.
|
inherited |
Calls Post and then Propagate to initialize the constraints.
This is usually done in the root node.
Definition at line 3286 of file constraint_solver.cc.
|
inlineinherited |
This method clears the failure callback.
Definition at line 3223 of file constraint_solver.h.
|
inlineinherited |
Definition at line 3217 of file constraint_solver.h.
|
inherited |
Definition at line 2515 of file constraint_solver.cc.
|
inlineinherited |
Shortcut for variable cleaner.
Definition at line 3226 of file constraint_solver.h.
|
inlineinherited |
Definition at line 3196 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 | callbackName, | ||
| SWIG_Callback2_t | callbackBaseName, | ||
| SWIG_Callback3_t | callbackPost, | ||
| SWIG_Callback4_t | callbackInitialPropagateWrapper | ||
| ) |
Definition at line 2275 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.
|
inlinevirtual |
Reimplemented from Director.
Definition at line 248 of file constraint_solver_python_wrap.h.
|
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.
|
inlinevirtual |
Reimplemented from Director.
Definition at line 252 of file constraint_solver_python_wrap.h.
|
inlineinherited |
Definition at line 519 of file constraint_solver_java_wrap.cc.
|
inlineinherited |
Definition at line 502 of file sat_java_wrap.cc.
|
inlineinherited |
This method unfreezes the propagation queue.
All modifications that happened when the queue was frozen will be processed.
Definition at line 3204 of file constraint_solver.h.
|
virtual |
Creates a Boolean variable representing the status of the constraint (false = constraint is violated, true = constraint is satisfied).
It returns nullptr if the constraint does not support this API.
Reimplemented from Constraint.
Definition at line 5172 of file constraint_solver_python_wrap.cc.
|
protectedinherited |
Definition at line 485 of file constraint_solver_java_wrap.cc.