![]() |
OR-Tools
8.0
|
Definition at line 597 of file constraint_solver_csharp_wrap.h.
Public Types | |
| typedef char *(SWIGSTDCALL * | SWIG_Callback0_t) () |
| typedef void(SWIGSTDCALL * | SWIG_Callback1_t) () |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback2_t) () |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback3_t) () |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback4_t) () |
| typedef void(SWIGSTDCALL * | SWIG_Callback5_t) () |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback6_t) () |
Public Member Functions | |
| SwigDirector_IntVarLocalSearchOperator () | |
| SwigDirector_IntVarLocalSearchOperator (std::vector< operations_research::IntVar * > const &vars, bool keep_inverse_values=false) | |
| virtual | ~SwigDirector_IntVarLocalSearchOperator () |
| virtual std::string | DebugString () const |
| virtual bool | MakeNextNeighbor (operations_research::Assignment *delta, operations_research::Assignment *deltadelta) |
| virtual void | Start (operations_research::Assignment const *assignment) |
| virtual void | Reset () |
| virtual bool | HasFragments () const |
| virtual bool | HoldsDelta () const |
| virtual bool | IsIncremental () const |
| virtual bool | SkipUnchanged (int index) const |
| virtual void | OnStart () |
| Called by Start() after synchronizing the operator with the current assignment. More... | |
| virtual bool | MakeOneNeighbor () |
| Creates a new neighbor. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| void | swig_connect_director (SWIG_Callback0_t callbackToString, SWIG_Callback1_t callbackReset, SWIG_Callback2_t callbackHasFragments, SWIG_Callback3_t callbackHoldsDelta, SWIG_Callback4_t callbackIsIncremental, SWIG_Callback5_t callbackOnStart, SWIG_Callback6_t callbackMakeOneNeighbor) |
| void | swig_connect_director (JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) |
| SwigDirector_IntVarLocalSearchOperator (JNIEnv *jenv) | |
| SwigDirector_IntVarLocalSearchOperator (JNIEnv *jenv, std::vector< operations_research::IntVar * > const &vars, bool keep_inverse_values=false) | |
| virtual | ~SwigDirector_IntVarLocalSearchOperator () |
| virtual std::string | DebugString () const |
| virtual bool | MakeNextNeighbor (operations_research::Assignment *delta, operations_research::Assignment *deltadelta) |
| virtual void | Start (operations_research::Assignment const *assignment) |
| virtual void | Reset () |
| virtual bool | HasFragments () const |
| virtual bool | HoldsDelta () const |
| virtual bool | IsIncremental () const |
| virtual bool | SkipUnchanged (int index) const |
| virtual void | OnStart () |
| Called by Start() after synchronizing the operator with the current assignment. More... | |
| virtual bool | MakeOneNeighbor () |
| Creates a new neighbor. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| bool | swig_overrides (int n) |
| SwigDirector_IntVarLocalSearchOperator (PyObject *self) | |
| SwigDirector_IntVarLocalSearchOperator (PyObject *self, std::vector< operations_research::IntVar * > const &vars, bool keep_inverse_values=false) | |
| virtual | ~SwigDirector_IntVarLocalSearchOperator () |
| virtual std::string | DebugString () const |
| virtual bool | MakeNextNeighbor (operations_research::Assignment *delta, operations_research::Assignment *deltadelta) |
| virtual void | Reset () |
| virtual bool | HasFragments () const |
| virtual bool | HoldsDelta () const |
| virtual bool | IsIncremental () const |
| virtual bool | SkipUnchanged (int index) const |
| virtual void | OnStart () |
| Called by Start() after synchronizing the operator with the current assignment. More... | |
| virtual bool | MakeOneNeighbor () |
| Creates a new neighbor. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| 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 |
| bool | MakeNextNeighbor (Assignment *delta, Assignment *deltadelta) override |
| Redefines MakeNextNeighbor to export a simpler interface. More... | |
| bool | HoldsDelta () const override |
| void | Start (const Assignment *assignment) override |
| This method should not be overridden. More... | |
| virtual bool | IsIncremental () const |
| int | Size () const |
| const int64 & | Value (int64 index) const |
| Returns the value in the current assignment of the variable of given index. More... | |
| IntVar * | Var (int64 index) const |
| Returns the variable of given index. More... | |
| const int64 & | OldValue (int64 index) const |
| void | SetValue (int64 index, const int64 &value) |
| bool | Activated (int64 index) const |
| void | Activate (int64 index) |
| void | Deactivate (int64 index) |
| bool | ApplyChanges (Assignment *delta, Assignment *deltadelta) const |
| void | RevertChanges (bool incremental) |
| void | AddVars (const std::vector< IntVar * > &vars) |
| virtual const LocalSearchOperator * | Self () 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 |
| 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 | |
| bool | IsInverseValue (int64 index) const |
| int64 | InverseValue (int64 index) const |
| int64 | OldInverseValue (int64 index) const |
| void | SetInverseValue (int64 index, int64 value) |
| void | SetOldInverseValue (int64 index, int64 value) |
| void | MarkChange (int64 index) |
| OnStart() should really be protected, but then SWIG doesn't see it. More... | |
| void | swig_disconnect_director_self (const char *disconn_method) |
| void | swig_disconnect_director_self (const char *disconn_method) |
Protected Attributes | |
| Swig::BoolArray< 7 > | swig_override |
| std::vector< IntVar * > | vars_ |
| std::vector< int64 > | values_ |
| std::vector< int64 > | old_values_ |
| std::vector< int64 > | prev_values_ |
| std::vector< int > | assignment_indices_ |
| Bitset64 | activated_ |
| Bitset64 | was_activated_ |
| SparseBitset | changes_ |
| SparseBitset | delta_changes_ |
| bool | cleared_ |
| IntVarLocalSearchHandler | var_handler_ |
| JObjectWrapper | swig_self_ |
| typedef char*(SWIGSTDCALL* SWIG_Callback0_t) () |
Definition at line 617 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback1_t) () |
Definition at line 618 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback2_t) () |
Definition at line 619 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback3_t) () |
Definition at line 620 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback4_t) () |
Definition at line 621 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback5_t) () |
Definition at line 622 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback6_t) () |
Definition at line 623 of file constraint_solver_csharp_wrap.h.
Definition at line 4278 of file constraint_solver_csharp_wrap.cc.
| SwigDirector_IntVarLocalSearchOperator | ( | std::vector< operations_research::IntVar * > const & | vars, |
| bool | keep_inverse_values = false |
||
| ) |
Definition at line 4282 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Definition at line 4286 of file constraint_solver_csharp_wrap.cc.
| SwigDirector_IntVarLocalSearchOperator | ( | JNIEnv * | jenv | ) |
Definition at line 2438 of file constraint_solver_java_wrap.cc.
| SwigDirector_IntVarLocalSearchOperator | ( | JNIEnv * | jenv, |
| std::vector< operations_research::IntVar * > const & | vars, | ||
| bool | keep_inverse_values = false |
||
| ) |
Definition at line 2441 of file constraint_solver_java_wrap.cc.
|
virtual |
| SwigDirector_IntVarLocalSearchOperator | ( | PyObject * | self | ) |
Definition at line 5853 of file constraint_solver_python_wrap.cc.
| SwigDirector_IntVarLocalSearchOperator | ( | PyObject * | self, |
| std::vector< operations_research::IntVar * > const & | vars, | ||
| bool | keep_inverse_values = false |
||
| ) |
Definition at line 5860 of file constraint_solver_python_wrap.cc.
|
virtual |
|
inlineinherited |
Definition at line 863 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 862 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 908 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 871 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 867 of file constraint_solveri.h.
|
virtual |
|
virtual |
|
virtual |
Definition at line 4291 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4325 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4338 of file constraint_solver_csharp_wrap.cc.
|
inlineoverrideinherited |
Definition at line 830 of file constraint_solveri.h.
Definition at line 1077 of file constraint_solveri.h.
|
virtual |
|
virtual |
|
virtual |
Definition at line 4351 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtualinherited |
Definition at line 846 of file constraint_solveri.h.
|
inlineprotectedinherited |
Definition at line 1072 of file constraint_solveri.h.
|
overridevirtualinherited |
Redefines MakeNextNeighbor to export a simpler interface.
The calls to ApplyChanges() and RevertChanges() are factored in this method, hiding both delta and deltadelta from subclasses which only need to override MakeOneNeighbor(). Therefore this method should not be overridden. Override MakeOneNeighbor() instead.
Implements LocalSearchOperator.
Reimplemented in PairNodeSwapActiveOperator< swap_first >, IndexPairSwapActiveOperator, and SwapIndexPairOperator.
Definition at line 74 of file local_search.cc.
|
virtual |
|
virtual |
|
virtual |
Definition at line 4308 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Creates a new neighbor.
It returns false when the neighborhood is completely explored. MakeNextNeighbor() in a subclass of IntVarLocalSearchOperator.
Reimplemented from IntVarLocalSearchOperator.
|
virtual |
Creates a new neighbor.
It returns false when the neighborhood is completely explored. MakeNextNeighbor() in a subclass of IntVarLocalSearchOperator.
Reimplemented from IntVarLocalSearchOperator.
|
virtual |
Creates a new neighbor.
It returns false when the neighborhood is completely explored. MakeNextNeighbor() in a subclass of IntVarLocalSearchOperator.
Reimplemented from IntVarLocalSearchOperator.
Definition at line 4377 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 146 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 409 of file constraint_solver_python_wrap.h.
|
inlinevirtual |
Definition at line 613 of file constraint_solver_csharp_wrap.h.
|
inlineprotectedinherited |
OnStart() should really be protected, but then SWIG doesn't see it.
So we make it public, but only subclasses should access to it (to override it).
Definition at line 932 of file constraint_solveri.h.
Definition at line 1079 of file constraint_solveri.h.
Definition at line 857 of file constraint_solveri.h.
|
virtual |
Called by Start() after synchronizing the operator with the current assignment.
Should be overridden instead of Start() to avoid calling VarLocalSearchOperator::Start explicitly.
Reimplemented from VarLocalSearchOperator< IntVar, int64, IntVarLocalSearchHandler >.
|
virtual |
Called by Start() after synchronizing the operator with the current assignment.
Should be overridden instead of Start() to avoid calling VarLocalSearchOperator::Start explicitly.
Reimplemented from VarLocalSearchOperator< IntVar, int64, IntVarLocalSearchHandler >.
|
virtual |
Called by Start() after synchronizing the operator with the current assignment.
Should be overridden instead of Start() to avoid calling VarLocalSearchOperator::Start explicitly.
Reimplemented from VarLocalSearchOperator< IntVar, int64, IntVarLocalSearchHandler >.
Definition at line 4368 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4316 of file constraint_solver_csharp_wrap.cc.
|
inlineinherited |
Definition at line 895 of file constraint_solveri.h.
|
inlinevirtualinherited |
Definition at line 813 of file constraint_solveri.h.
Definition at line 1083 of file constraint_solveri.h.
Definition at line 1087 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 858 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 847 of file constraint_solveri.h.
|
virtual |
Reimplemented from VarLocalSearchOperator< IntVar, int64, IntVarLocalSearchHandler >.
|
virtual |
Reimplemented from VarLocalSearchOperator< IntVar, int64, IntVarLocalSearchHandler >.
|
virtual |
Reimplemented from VarLocalSearchOperator< IntVar, int64, IntVarLocalSearchHandler >.
Definition at line 4364 of file constraint_solver_csharp_wrap.cc.
|
inlineoverridevirtualinherited |
This method should not be overridden.
Override OnStart() instead which is called before exiting this method.
Implements LocalSearchOperator.
Definition at line 833 of file constraint_solveri.h.
|
virtual |
|
virtual |
Definition at line 4312 of file constraint_solver_csharp_wrap.cc.
|
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 | ( | JNIEnv * | jenv, |
| jobject | jself, | ||
| jclass | jcls, | ||
| bool | swig_mem_own, | ||
| bool | weak_global | ||
| ) |
Definition at line 2646 of file constraint_solver_java_wrap.cc.
| void swig_connect_director | ( | SWIG_Callback0_t | callbackToString, |
| SWIG_Callback1_t | callbackReset, | ||
| SWIG_Callback2_t | callbackHasFragments, | ||
| SWIG_Callback3_t | callbackHoldsDelta, | ||
| SWIG_Callback4_t | callbackIsIncremental, | ||
| SWIG_Callback5_t | callbackOnStart, | ||
| SWIG_Callback6_t | callbackMakeOneNeighbor | ||
| ) |
Definition at line 4390 of file constraint_solver_csharp_wrap.cc.
|
inlineprotectedinherited |
Definition at line 471 of file sat_java_wrap.cc.
|
inlineprotectedinherited |
Definition at line 488 of file constraint_solver_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 415 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 506 of file sat_java_wrap.cc.
|
inlineinherited |
Definition at line 523 of file constraint_solver_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 511 of file sat_java_wrap.cc.
|
inlineinherited |
Definition at line 528 of file constraint_solver_java_wrap.cc.
|
inline |
Definition at line 150 of file constraint_solver_java_wrap.h.
|
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 419 of file constraint_solver_python_wrap.h.
|
inlineinherited |
Definition at line 502 of file sat_java_wrap.cc.
|
inlineinherited |
Definition at line 519 of file constraint_solver_java_wrap.cc.
Returns the value in the current assignment of the variable of given index.
Definition at line 850 of file constraint_solveri.h.
|
inlineinherited |
Returns the variable of given index.
Definition at line 855 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 942 of file constraint_solveri.h.
|
mutableprotectedinherited |
Definition at line 941 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 944 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 946 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 945 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 939 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 940 of file constraint_solveri.h.
|
protected |
Definition at line 154 of file constraint_solver_java_wrap.h.
|
protectedinherited |
Definition at line 485 of file constraint_solver_java_wrap.cc.
|
protectedinherited |
Definition at line 938 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 947 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 937 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 943 of file constraint_solveri.h.