![]() |
OR-Tools
8.0
|
Definition at line 673 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_BaseLns (std::vector< operations_research::IntVar * > const &vars) | |
| virtual | ~SwigDirector_BaseLns () |
| 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 void | InitFragments () |
| virtual bool | NextFragment () |
| 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 callbackInitFragments, SWIG_Callback6_t callbackNextFragment) |
| void | swig_connect_director (JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) |
| SwigDirector_BaseLns (JNIEnv *jenv, std::vector< operations_research::IntVar * > const &vars) | |
| virtual | ~SwigDirector_BaseLns () |
| 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 void | InitFragments () |
| virtual bool | NextFragment () |
| bool | swig_overrides (int n) |
| SwigDirector_BaseLns (PyObject *self, std::vector< operations_research::IntVar * > const &vars) | |
| virtual | ~SwigDirector_BaseLns () |
| 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 void | InitFragments () |
| virtual bool | NextFragment () |
| 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 | AppendToFragment (int index) |
| int | FragmentSize () 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... | |
| virtual bool | SkipUnchanged (int index) const |
| 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 | MakeOneNeighbor () override |
| This method should not be overridden. Override NextFragment() instead. More... | |
| 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 688 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback1_t) () |
Definition at line 689 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback2_t) () |
Definition at line 690 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback3_t) () |
Definition at line 691 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback4_t) () |
Definition at line 692 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback5_t) () |
Definition at line 693 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback6_t) () |
Definition at line 694 of file constraint_solver_csharp_wrap.h.
| SwigDirector_BaseLns | ( | std::vector< operations_research::IntVar * > const & | vars | ) |
Definition at line 4543 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Definition at line 4547 of file constraint_solver_csharp_wrap.cc.
| SwigDirector_BaseLns | ( | JNIEnv * | jenv, |
| std::vector< operations_research::IntVar * > const & | vars | ||
| ) |
Definition at line 2963 of file constraint_solver_java_wrap.cc.
|
virtual |
| SwigDirector_BaseLns | ( | PyObject * | self, |
| std::vector< operations_research::IntVar * > const & | vars | ||
| ) |
Definition at line 6056 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.
|
inherited |
Definition at line 120 of file local_search.cc.
|
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 4552 of file constraint_solver_csharp_wrap.cc.
|
inherited |
Definition at line 126 of file local_search.cc.
|
virtual |
Reimplemented from BaseLns.
|
virtual |
Reimplemented from BaseLns.
|
virtual |
Reimplemented from BaseLns.
Definition at line 4586 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4599 of file constraint_solver_csharp_wrap.cc.
|
inlineoverrideinherited |
Definition at line 830 of file constraint_solveri.h.
|
virtual |
Reimplemented from BaseLns.
|
virtual |
Reimplemented from BaseLns.
|
virtual |
Reimplemented from BaseLns.
Definition at line 4625 of file constraint_solver_csharp_wrap.cc.
Definition at line 1077 of file constraint_solveri.h.
|
virtual |
|
virtual |
|
virtual |
Definition at line 4612 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 4569 of file constraint_solver_csharp_wrap.cc.
|
overrideprotectedvirtualinherited |
This method should not be overridden. Override NextFragment() instead.
Reimplemented from IntVarLocalSearchOperator.
Definition at line 104 of file local_search.cc.
|
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.
|
virtual |
Implements BaseLns.
|
virtual |
Implements BaseLns.
|
virtual |
Implements BaseLns.
Definition at line 4634 of file constraint_solver_csharp_wrap.cc.
Definition at line 1079 of file constraint_solveri.h.
Definition at line 857 of file constraint_solveri.h.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4577 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.
Definition at line 858 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 847 of file constraint_solveri.h.
|
inlinevirtualinherited |
Reimplemented in PathOperator, SwigDirector_PathOperator, SwigDirector_ChangeValue, SwigDirector_IntVarLocalSearchOperator, SwigDirector_ChangeValue, SwigDirector_IntVarLocalSearchOperator, SwigDirector_PathOperator, SwigDirector_ChangeValue, and SwigDirector_IntVarLocalSearchOperator.
Definition at line 856 of file constraint_solveri.h.
|
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 4573 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 3165 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 | callbackInitFragments, | ||
| SWIG_Callback6_t | callbackNextFragment | ||
| ) |
Definition at line 4648 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 464 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 197 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 468 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 201 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.