![]() |
OR-Tools
8.0
|
Definition at line 708 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) () |
| typedef long long(SWIGSTDCALL * | SWIG_Callback7_t) (long long, long long) |
Public Member Functions | |
| SwigDirector_ChangeValue (std::vector< operations_research::IntVar * > const &vars) | |
| virtual | ~SwigDirector_ChangeValue () |
| 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 () |
| This method should not be overridden. Override ModifyValue() instead. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| virtual int64 | ModifyValue (int64 index, int64 value) |
| 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, SWIG_Callback7_t callbackModifyValue) |
| void | swig_connect_director (JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) |
| SwigDirector_ChangeValue (JNIEnv *jenv, std::vector< operations_research::IntVar * > const &vars) | |
| virtual | ~SwigDirector_ChangeValue () |
| 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 () |
| This method should not be overridden. Override ModifyValue() instead. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| virtual int64 | ModifyValue (int64 index, int64 value) |
| bool | swig_overrides (int n) |
| SwigDirector_ChangeValue (PyObject *self, std::vector< operations_research::IntVar * > const &vars) | |
| virtual | ~SwigDirector_ChangeValue () |
| 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 () |
| This method should not be overridden. Override ModifyValue() instead. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| virtual int64 | ModifyValue (int64 index, int64 value) |
| 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< 8 > | 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 728 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback1_t) () |
Definition at line 729 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback2_t) () |
Definition at line 730 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback3_t) () |
Definition at line 731 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback4_t) () |
Definition at line 732 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback5_t) () |
Definition at line 733 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback6_t) () |
Definition at line 734 of file constraint_solver_csharp_wrap.h.
| typedef long long(SWIGSTDCALL* SWIG_Callback7_t) (long long, long long) |
Definition at line 735 of file constraint_solver_csharp_wrap.h.
| SwigDirector_ChangeValue | ( | std::vector< operations_research::IntVar * > const & | vars | ) |
Definition at line 4668 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Definition at line 4672 of file constraint_solver_csharp_wrap.cc.
| SwigDirector_ChangeValue | ( | JNIEnv * | jenv, |
| std::vector< operations_research::IntVar * > const & | vars | ||
| ) |
Definition at line 3219 of file constraint_solver_java_wrap.cc.
|
virtual |
| SwigDirector_ChangeValue | ( | PyObject * | self, |
| std::vector< operations_research::IntVar * > const & | vars | ||
| ) |
Definition at line 6245 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 4677 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4711 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4724 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 4737 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 4694 of file constraint_solver_csharp_wrap.cc.
|
virtual |
This method should not be overridden. Override ModifyValue() instead.
Reimplemented from ChangeValue.
|
virtual |
This method should not be overridden. Override ModifyValue() instead.
Reimplemented from ChangeValue.
|
virtual |
This method should not be overridden. Override ModifyValue() instead.
Reimplemented from ChangeValue.
Definition at line 4763 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 220 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 511 of file constraint_solver_python_wrap.h.
|
inlinevirtual |
Definition at line 723 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.
Implements ChangeValue.
Implements ChangeValue.
Implements ChangeValue.
Definition at line 4776 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 |
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 ChangeValue.
|
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 ChangeValue.
|
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 ChangeValue.
Definition at line 4754 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4702 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 4750 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 4698 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 3455 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, | ||
| SWIG_Callback7_t | callbackModifyValue | ||
| ) |
Definition at line 4794 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 518 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 225 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 522 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 229 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.