![]() |
OR-Tools
8.0
|
Definition at line 750 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 unsigned int(SWIGSTDCALL * | SWIG_Callback7_t) () |
| typedef void(SWIGSTDCALL * | SWIG_Callback8_t) () |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback9_t) () |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback10_t) (long long) |
| typedef long long(SWIGSTDCALL * | SWIG_Callback11_t) (int) |
| typedef void(SWIGSTDCALL * | SWIG_Callback12_t) (long long) |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback13_t) (long long) |
| typedef unsigned int(SWIGSTDCALL * | SWIG_Callback14_t) () |
Public Member Functions | |
| virtual | ~SwigDirector_PathOperator () |
| 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 MakeNeighbor() instead. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| virtual bool | MakeNeighbor () |
| virtual void | OnNodeInitialization () |
| Called by OnStart() after initializing node information. More... | |
| virtual void | OnNodeInitializationSwigPublic () |
| virtual bool | RestartAtPathStartOnSynchronize () |
| When the operator is being synchronized with a new solution (when Start() is called), returns true to restart the exploration of the neighborhood from the start of the last paths explored; returns false to restart the exploration at the last nodes visited. More... | |
| virtual bool | RestartAtPathStartOnSynchronizeSwigPublic () |
| virtual bool | OnSamePathAsPreviousBase (int64 base_index) |
| Returns true if a base node has to be on the same path as the "previous" base node (base node of index base_index - 1). More... | |
| virtual bool | OnSamePathAsPreviousBaseSwigPublic (int64 base_index) |
| virtual int64 | GetBaseNodeRestartPosition (int base_index) |
| Returns the index of the node to which the base node of index base_index must be set to when it reaches the end of a path. More... | |
| virtual int64 | GetBaseNodeRestartPositionSwigPublic (int base_index) |
| virtual void | SetNextBaseToIncrement (int64 base_index) |
| Set the next base to increment on next iteration. More... | |
| virtual void | SetNextBaseToIncrementSwigPublic (int64 base_index) |
| virtual bool | ConsiderAlternatives (int64 base_index) const |
| Indicates if alternatives should be considered when iterating over base nodes. More... | |
| virtual bool | ConsiderAlternativesSwigPublic (int64 base_index) const |
| virtual bool | InitPosition () const |
| Returns true if the operator needs to restart its initial position at each call to Start() More... | |
| virtual bool | InitPositionSwigPublic () const |
| 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 callbackMakeNeighbor, SWIG_Callback8_t callbackOnNodeInitialization, SWIG_Callback9_t callbackRestartAtPathStartOnSynchronize, SWIG_Callback10_t callbackOnSamePathAsPreviousBase, SWIG_Callback11_t callbackGetBaseNodeRestartPosition, SWIG_Callback12_t callbackSetNextBaseToIncrement, SWIG_Callback13_t callbackConsiderAlternatives, SWIG_Callback14_t callbackInitPosition) |
| void | swig_connect_director (JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global) |
| SwigDirector_PathOperator (JNIEnv *jenv, std::vector< operations_research::IntVar * > const &next_vars, std::vector< operations_research::IntVar * > const &path_vars, int number_of_base_nodes, bool skip_locally_optimal_paths, bool accept_path_end_base, std::function< int(int64) > start_empty_path_class) | |
| virtual | ~SwigDirector_PathOperator () |
| 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 MakeNeighbor() instead. More... | |
| virtual bool | MakeOneNeighborSwigPublic () |
| virtual bool | MakeNeighbor () |
| virtual void | OnNodeInitialization () |
| Called by OnStart() after initializing node information. More... | |
| virtual void | OnNodeInitializationSwigPublic () |
| virtual bool | RestartAtPathStartOnSynchronize () |
| When the operator is being synchronized with a new solution (when Start() is called), returns true to restart the exploration of the neighborhood from the start of the last paths explored; returns false to restart the exploration at the last nodes visited. More... | |
| virtual bool | RestartAtPathStartOnSynchronizeSwigPublic () |
| virtual bool | OnSamePathAsPreviousBase (int64 base_index) |
| Returns true if a base node has to be on the same path as the "previous" base node (base node of index base_index - 1). More... | |
| virtual bool | OnSamePathAsPreviousBaseSwigPublic (int64 base_index) |
| virtual int64 | GetBaseNodeRestartPosition (int base_index) |
| Returns the index of the node to which the base node of index base_index must be set to when it reaches the end of a path. More... | |
| virtual int64 | GetBaseNodeRestartPositionSwigPublic (int base_index) |
| virtual void | SetNextBaseToIncrement (int64 base_index) |
| Set the next base to increment on next iteration. More... | |
| virtual void | SetNextBaseToIncrementSwigPublic (int64 base_index) |
| virtual bool | ConsiderAlternatives (int64 base_index) const |
| Indicates if alternatives should be considered when iterating over base nodes. More... | |
| virtual bool | ConsiderAlternativesSwigPublic (int64 base_index) const |
| virtual bool | InitPosition () const |
| Returns true if the operator needs to restart its initial position at each call to Start() More... | |
| virtual bool | InitPositionSwigPublic () const |
| bool | swig_overrides (int n) |
| int64 | Next (int64 node) const |
| Returns the node after node in the current delta. More... | |
| int64 | Prev (int64 node) const |
| Returns the node before node in the current delta. More... | |
| int64 | Path (int64 node) const |
| Returns the index of the path to which node belongs in the current delta. More... | |
| int | number_of_nexts () const |
| Number of next variables. More... | |
| 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 |
| 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)) |
Protected Member Functions | |
| int64 | BaseNode (int i) const |
| Returns the ith base node of the operator. More... | |
| int | BaseAlternative (int i) const |
| Returns the alternative for the ith base node. More... | |
| int64 | BaseAlternativeNode (int i) const |
| Returns the alternative node for the ith base node. More... | |
| int | BaseSiblingAlternative (int i) const |
| Returns the alternative for the sibling of the ith base node. More... | |
| int64 | BaseSiblingAlternativeNode (int i) const |
| Returns the alternative node for the sibling of the ith base node. More... | |
| int64 | StartNode (int i) const |
| Returns the start node of the ith base node. More... | |
| const std::vector< int64 > & | path_starts () const |
| Returns the vector of path start nodes. More... | |
| int | PathClass (int i) const |
| Returns the class of the path of the ith base node. More... | |
| int64 | OldNext (int64 node) const |
| int64 | OldPrev (int64 node) const |
| int64 | OldPath (int64 node) const |
| bool | MoveChain (int64 before_chain, int64 chain_end, int64 destination) |
| Moves the chain starting after the node before_chain and ending at the node chain_end after the node destination. More... | |
| bool | ReverseChain (int64 before_chain, int64 after_chain, int64 *chain_last) |
| Reverses the chain starting after before_chain and ending before after_chain. More... | |
| bool | MakeActive (int64 node, int64 destination) |
| Insert the inactive node after destination. More... | |
| bool | MakeChainInactive (int64 before_chain, int64 chain_end) |
| Makes the nodes on the chain starting after before_chain and ending at chain_end inactive. More... | |
| bool | SwapActiveAndInactive (int64 active, int64 inactive) |
| Replaces active by inactive in the current path, making active inactive. More... | |
| void | SetNext (int64 from, int64 to, int64 path) |
| Sets 'to' to be the node after 'from' on the given path. More... | |
| bool | IsPathEnd (int64 node) const |
| Returns true if node is the last node on the path; defined by the fact that node is outside the range of the variable array. More... | |
| bool | IsPathStart (int64 node) const |
| Returns true if node is the first node on the path. More... | |
| bool | IsInactive (int64 node) const |
| Returns true if node is inactive. More... | |
| void | ResetPosition () |
| Reset the position of the operator to its position when Start() was last called; this can be used to let an operator iterate more than once over the paths. More... | |
| int | AddAlternativeSet (const std::vector< int64 > &alternative_set) |
| Handling node alternatives. More... | |
| void | AddPairAlternativeSets (const std::vector< std::pair< std::vector< int64 >, std::vector< int64 >>> &pair_alternative_sets) |
| Adds all sets of node alternatives of a vector of alternative pairs. More... | |
| int64 | GetActiveInAlternativeSet (int alternative_index) const |
| Returns the active node in the given alternative set. More... | |
| int64 | GetActiveAlternativeNode (int node) const |
| Returns the active node in the alternative set of the given node. More... | |
| int | GetSiblingAlternativeIndex (int node) const |
| Returns the index of the alternative set of the sibling of node. More... | |
| int64 | GetActiveAlternativeSibling (int node) const |
| Returns the active node in the alternative set of the sibling of the given node. More... | |
| bool | CheckChainValidity (int64 before_chain, int64 chain_end, int64 exclude) const |
| Returns true if the chain is a valid path without cycles from before_chain to chain_end and does not contain exclude. 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< 15 > | swig_override |
| const int | number_of_nexts_ |
| const bool | ignore_path_vars_ |
| int | next_base_to_increment_ |
| int | num_paths_ = 0 |
| std::vector< int64 > | start_to_path_ |
| 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 797 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback10_t) (long long) |
Definition at line 807 of file constraint_solver_csharp_wrap.h.
| typedef long long(SWIGSTDCALL* SWIG_Callback11_t) (int) |
Definition at line 808 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback12_t) (long long) |
Definition at line 809 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback13_t) (long long) |
Definition at line 810 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback14_t) () |
Definition at line 811 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback1_t) () |
Definition at line 798 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback2_t) () |
Definition at line 799 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback3_t) () |
Definition at line 800 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback4_t) () |
Definition at line 801 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback5_t) () |
Definition at line 802 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback6_t) () |
Definition at line 803 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback7_t) () |
Definition at line 804 of file constraint_solver_csharp_wrap.h.
| typedef void(SWIGSTDCALL* SWIG_Callback8_t) () |
Definition at line 805 of file constraint_solver_csharp_wrap.h.
| typedef unsigned int(SWIGSTDCALL* SWIG_Callback9_t) () |
Definition at line 806 of file constraint_solver_csharp_wrap.h.
|
virtual |
Definition at line 4816 of file constraint_solver_csharp_wrap.cc.
| SwigDirector_PathOperator | ( | JNIEnv * | jenv, |
| std::vector< operations_research::IntVar * > const & | next_vars, | ||
| std::vector< operations_research::IntVar * > const & | path_vars, | ||
| int | number_of_base_nodes, | ||
| bool | skip_locally_optimal_paths, | ||
| bool | accept_path_end_base, | ||
| std::function< int(int64) > | start_empty_path_class | ||
| ) |
Definition at line 3512 of file constraint_solver_java_wrap.cc.
|
virtual |
|
inlineinherited |
Definition at line 863 of file constraint_solveri.h.
|
inlineinherited |
Definition at line 862 of file constraint_solveri.h.
|
inlineprotectedinherited |
Handling node alternatives.
Adds a set of node alternatives to the neighborhood. No node can be in two altrnatives.
Definition at line 1512 of file constraint_solveri.h.
|
inlineprotectedinherited |
Adds all sets of node alternatives of a vector of alternative pairs.
No node can be in two altrnatives.
Definition at line 1525 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.
|
inlineprotectedinherited |
Returns the alternative for the ith base node.
Definition at line 1383 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the alternative node for the ith base node.
Definition at line 1385 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the ith base node of the operator.
Definition at line 1381 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the alternative for the sibling of the ith base node.
Definition at line 1393 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the alternative node for the sibling of the ith base node.
Definition at line 1397 of file constraint_solveri.h.
|
protectedinherited |
Returns true if the chain is a valid path without cycles from before_chain to chain_end and does not contain exclude.
Definition at line 842 of file local_search.cc.
|
virtual |
Indicates if alternatives should be considered when iterating over base nodes.
Reimplemented from PathOperator.
|
virtual |
Indicates if alternatives should be considered when iterating over base nodes.
Reimplemented from PathOperator.
Definition at line 4998 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 273 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 789 of file constraint_solver_csharp_wrap.h.
|
inlineinherited |
Definition at line 867 of file constraint_solveri.h.
|
virtual |
|
virtual |
Definition at line 4821 of file constraint_solver_csharp_wrap.cc.
|
inlineprotectedinherited |
Returns the active node in the alternative set of the given node.
Definition at line 1542 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the active node in the alternative set of the sibling of the given node.
Definition at line 1553 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the active node in the given alternative set.
Definition at line 1536 of file constraint_solveri.h.
|
virtual |
Returns the index of the node to which the base node of index base_index must be set to when it reaches the end of a path.
By default, it is set to the start of the current path. When this method is called, one can only assume that base nodes with indices < base_index have their final position.
Reimplemented from PathOperator.
|
virtual |
Returns the index of the node to which the base node of index base_index must be set to when it reaches the end of a path.
By default, it is set to the start of the current path. When this method is called, one can only assume that base nodes with indices < base_index have their final position.
Reimplemented from PathOperator.
Definition at line 4971 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 265 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 781 of file constraint_solver_csharp_wrap.h.
|
inlineprotectedinherited |
Returns the index of the alternative set of the sibling of node.
Definition at line 1546 of file constraint_solveri.h.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4855 of file constraint_solver_csharp_wrap.cc.
|
virtual |
Reimplemented from LocalSearchOperator.
|
virtual |
Reimplemented from LocalSearchOperator.
Definition at line 4868 of file constraint_solver_csharp_wrap.cc.
|
inlineoverrideinherited |
Definition at line 830 of file constraint_solveri.h.
|
virtual |
Returns true if the operator needs to restart its initial position at each call to Start()
Reimplemented from PathOperator.
|
virtual |
Returns true if the operator needs to restart its initial position at each call to Start()
Reimplemented from PathOperator.
Definition at line 5013 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 277 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 793 of file constraint_solver_csharp_wrap.h.
Definition at line 1077 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns true if node is inactive.
Definition at line 1497 of file constraint_solveri.h.
|
virtual |
|
virtual |
Definition at line 4881 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.
|
inlineprotectedinherited |
Returns true if node is the last node on the path; defined by the fact that node is outside the range of the variable array.
Definition at line 1491 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns true if node is the first node on the path.
Definition at line 1494 of file constraint_solveri.h.
Insert the inactive node after destination.
Definition at line 460 of file local_search.cc.
Makes the nodes on the chain starting after before_chain and ending at chain_end inactive.
Definition at line 471 of file local_search.cc.
|
virtual |
Implements PathOperator.
|
virtual |
Implements PathOperator.
Definition at line 4920 of file constraint_solver_csharp_wrap.cc.
|
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 |
Definition at line 4838 of file constraint_solver_csharp_wrap.cc.
|
virtual |
This method should not be overridden. Override MakeNeighbor() instead.
Reimplemented from PathOperator.
|
virtual |
This method should not be overridden. Override MakeNeighbor() instead.
Reimplemented from PathOperator.
Definition at line 4907 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 248 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 764 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.
Moves the chain starting after the node before_chain and ending at the node chain_end after the node destination.
Definition at line 414 of file local_search.cc.
Returns the node after node in the current delta.
Definition at line 1351 of file constraint_solveri.h.
|
inlineinherited |
Number of next variables.
Definition at line 1370 of file constraint_solveri.h.
Definition at line 1079 of file constraint_solveri.h.
Definition at line 1448 of file constraint_solveri.h.
Definition at line 1458 of file constraint_solveri.h.
Definition at line 1453 of file constraint_solveri.h.
Definition at line 857 of file constraint_solveri.h.
|
virtual |
Called by OnStart() after initializing node information.
Should be overridden instead of OnStart() to avoid calling PathOperator::OnStart explicitly.
Reimplemented from PathOperator.
|
virtual |
Called by OnStart() after initializing node information.
Should be overridden instead of OnStart() to avoid calling PathOperator::OnStart explicitly.
Reimplemented from PathOperator.
Definition at line 4934 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 253 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 769 of file constraint_solver_csharp_wrap.h.
|
virtual |
Returns true if a base node has to be on the same path as the "previous" base node (base node of index base_index - 1).
Useful to limit neighborhood exploration to nodes on the same path. it's currently way more complicated to implement.
Reimplemented from PathOperator.
|
virtual |
Returns true if a base node has to be on the same path as the "previous" base node (base node of index base_index - 1).
Useful to limit neighborhood exploration to nodes on the same path. it's currently way more complicated to implement.
Reimplemented from PathOperator.
Definition at line 4956 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 261 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 777 of file constraint_solver_csharp_wrap.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 PathOperator.
|
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 PathOperator.
Definition at line 4898 of file constraint_solver_csharp_wrap.cc.
Returns the index of the path to which node belongs in the current delta.
Only returns a valid value if path variables are taken into account.
Definition at line 1365 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the vector of path start nodes.
Definition at line 1409 of file constraint_solveri.h.
|
inlineprotectedinherited |
Returns the class of the path of the ith base node.
Definition at line 1411 of file constraint_solveri.h.
Returns the node before node in the current delta.
Definition at line 1357 of file constraint_solveri.h.
|
virtual |
Reimplemented from PathOperator.
|
virtual |
Reimplemented from PathOperator.
Definition at line 4846 of file constraint_solver_csharp_wrap.cc.
|
inlineprotectedinherited |
Reset the position of the operator to its position when Start() was last called; this can be used to let an operator iterate more than once over the paths.
Definition at line 1507 of file constraint_solveri.h.
|
virtual |
When the operator is being synchronized with a new solution (when Start() is called), returns true to restart the exploration of the neighborhood from the start of the last paths explored; returns false to restart the exploration at the last nodes visited.
This is used to avoid restarting on base nodes which have changed paths, leading to potentially skipping neighbors.
Reimplemented from PathOperator.
|
virtual |
When the operator is being synchronized with a new solution (when Start() is called), returns true to restart the exploration of the neighborhood from the start of the last paths explored; returns false to restart the exploration at the last nodes visited.
This is used to avoid restarting on base nodes which have changed paths, leading to potentially skipping neighbors.
Reimplemented from PathOperator.
Definition at line 4943 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 257 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 773 of file constraint_solver_csharp_wrap.h.
Reverses the chain starting after before_chain and ending before after_chain.
Definition at line 437 of file local_search.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.
Sets 'to' to be the node after 'from' on the given path.
Definition at line 1479 of file constraint_solveri.h.
|
virtual |
Set the next base to increment on next iteration.
All base > base_index will be reset to their start value.
Reimplemented from PathOperator.
|
virtual |
Set the next base to increment on next iteration.
All base > base_index will be reset to their start value.
Reimplemented from PathOperator.
Definition at line 4986 of file constraint_solver_csharp_wrap.cc.
|
inlinevirtual |
Definition at line 269 of file constraint_solver_java_wrap.h.
|
inlinevirtual |
Definition at line 785 of file constraint_solver_csharp_wrap.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 PathOperator.
|
virtual |
Reimplemented from PathOperator.
Definition at line 4894 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 4842 of file constraint_solver_csharp_wrap.cc.
|
inlineprotectedinherited |
Returns the start node of the ith base node.
Definition at line 1407 of file constraint_solveri.h.
Replaces active by inactive in the current path, making active inactive.
Definition at line 488 of file local_search.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 3928 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 | callbackMakeNeighbor, | ||
| SWIG_Callback8_t | callbackOnNodeInitialization, | ||
| SWIG_Callback9_t | callbackRestartAtPathStartOnSynchronize, | ||
| SWIG_Callback10_t | callbackOnSamePathAsPreviousBase, | ||
| SWIG_Callback11_t | callbackGetBaseNodeRestartPosition, | ||
| SWIG_Callback12_t | callbackSetNextBaseToIncrement, | ||
| SWIG_Callback13_t | callbackConsiderAlternatives, | ||
| SWIG_Callback14_t | callbackInitPosition | ||
| ) |
Definition at line 5026 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.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, SwigDirector_BaseObject, and SwigDirector_SolutionCallback.
Definition at line 3028 of file constraint_solver_python_wrap.cc.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, SwigDirector_BaseObject, and SwigDirector_SolutionCallback.
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 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 281 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.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, SwigDirector_BaseObject, and SwigDirector_SolutionCallback.
Definition at line 3032 of file constraint_solver_python_wrap.cc.
|
inlinevirtualinherited |
Reimplemented in SwigDirector_IntVarLocalSearchFilter, SwigDirector_ChangeValue, SwigDirector_BaseLns, SwigDirector_IntVarLocalSearchOperator, SwigDirector_LocalSearchOperator, SwigDirector_SearchMonitor, SwigDirector_Constraint, SwigDirector_Demon, SwigDirector_DecisionBuilder, SwigDirector_Decision, SwigDirector_PropagationBaseObject, SwigDirector_BaseObject, and SwigDirector_SolutionCallback.
Definition at line 3033 of file sat_python_wrap.cc.
|
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 1566 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 1567 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 1568 of file constraint_solveri.h.
|
protectedinherited |
Definition at line 1565 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.
|
protectedinherited |
Definition at line 1569 of file constraint_solveri.h.
|
protected |
Definition at line 285 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.