OR-Tools  8.0
SwigDirector_IntVarLocalSearchOperator

Detailed Description

Definition at line 597 of file constraint_solver_csharp_wrap.h.

Public Types

typedef char *(SWIGSTDCALLSWIG_Callback0_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback1_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback2_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback3_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_Callback4_t) ()
 
typedef void(SWIGSTDCALLSWIG_Callback5_t) ()
 
typedef unsigned int(SWIGSTDCALLSWIG_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 int64Value (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 int64OldValue (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 LocalSearchOperatorSelf () 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< int64values_
 
std::vector< int64old_values_
 
std::vector< int64prev_values_
 
std::vector< int > assignment_indices_
 
Bitset64 activated_
 
Bitset64 was_activated_
 
SparseBitset changes_
 
SparseBitset delta_changes_
 
bool cleared_
 
IntVarLocalSearchHandler var_handler_
 
JObjectWrapper swig_self_
 

Member Typedef Documentation

◆ SWIG_Callback0_t

typedef char*(SWIGSTDCALL* SWIG_Callback0_t) ()

Definition at line 617 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback1_t

typedef void(SWIGSTDCALL* SWIG_Callback1_t) ()

Definition at line 618 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback2_t

typedef unsigned int(SWIGSTDCALL* SWIG_Callback2_t) ()

Definition at line 619 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback3_t

typedef unsigned int(SWIGSTDCALL* SWIG_Callback3_t) ()

Definition at line 620 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback4_t

typedef unsigned int(SWIGSTDCALL* SWIG_Callback4_t) ()

Definition at line 621 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback5_t

typedef void(SWIGSTDCALL* SWIG_Callback5_t) ()

Definition at line 622 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback6_t

typedef unsigned int(SWIGSTDCALL* SWIG_Callback6_t) ()

Definition at line 623 of file constraint_solver_csharp_wrap.h.

Constructor & Destructor Documentation

◆ SwigDirector_IntVarLocalSearchOperator() [1/6]

◆ SwigDirector_IntVarLocalSearchOperator() [2/6]

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.

◆ ~SwigDirector_IntVarLocalSearchOperator() [1/3]

◆ SwigDirector_IntVarLocalSearchOperator() [3/6]

Definition at line 2438 of file constraint_solver_java_wrap.cc.

◆ SwigDirector_IntVarLocalSearchOperator() [4/6]

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.

◆ ~SwigDirector_IntVarLocalSearchOperator() [2/3]

◆ SwigDirector_IntVarLocalSearchOperator() [5/6]

Definition at line 5853 of file constraint_solver_python_wrap.cc.

◆ SwigDirector_IntVarLocalSearchOperator() [6/6]

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.

◆ ~SwigDirector_IntVarLocalSearchOperator() [3/3]

Member Function Documentation

◆ Activate()

void Activate ( int64  index)
inlineinherited

Definition at line 863 of file constraint_solveri.h.

◆ Activated()

bool Activated ( int64  index) const
inlineinherited

Definition at line 862 of file constraint_solveri.h.

◆ AddVars()

void AddVars ( const std::vector< V * > &  vars)
inlineinherited

Definition at line 908 of file constraint_solveri.h.

◆ ApplyChanges()

bool ApplyChanges ( Assignment *  delta,
Assignment *  deltadelta 
) const
inlineinherited

Definition at line 871 of file constraint_solveri.h.

◆ Deactivate()

void Deactivate ( int64  index)
inlineinherited

Definition at line 867 of file constraint_solveri.h.

◆ DebugString() [1/3]

virtual std::string DebugString ( ) const
virtual

◆ DebugString() [2/3]

virtual std::string DebugString ( ) const
virtual

◆ DebugString() [3/3]

std::string DebugString ( ) const
virtual

Definition at line 4291 of file constraint_solver_csharp_wrap.cc.

◆ HasFragments() [1/3]

virtual bool HasFragments ( ) const
virtual

Reimplemented from LocalSearchOperator.

◆ HasFragments() [2/3]

virtual bool HasFragments ( ) const
virtual

Reimplemented from LocalSearchOperator.

◆ HasFragments() [3/3]

bool HasFragments ( ) const
virtual

Reimplemented from LocalSearchOperator.

Definition at line 4325 of file constraint_solver_csharp_wrap.cc.

◆ HoldsDelta() [1/4]

virtual bool HoldsDelta ( ) const
virtual

Reimplemented from LocalSearchOperator.

◆ HoldsDelta() [2/4]

virtual bool HoldsDelta ( ) const
virtual

Reimplemented from LocalSearchOperator.

◆ HoldsDelta() [3/4]

bool HoldsDelta ( ) const
virtual

Reimplemented from LocalSearchOperator.

Definition at line 4338 of file constraint_solver_csharp_wrap.cc.

◆ HoldsDelta() [4/4]

bool HoldsDelta ( ) const
inlineoverrideinherited

Definition at line 830 of file constraint_solveri.h.

◆ InverseValue()

int64 InverseValue ( int64  index) const
inlineprotectedinherited

Definition at line 1077 of file constraint_solveri.h.

◆ IsIncremental() [1/4]

virtual bool IsIncremental ( ) const
virtual

◆ IsIncremental() [2/4]

virtual bool IsIncremental ( ) const
virtual

◆ IsIncremental() [3/4]

bool IsIncremental ( ) const
virtual

Definition at line 4351 of file constraint_solver_csharp_wrap.cc.

◆ IsIncremental() [4/4]

virtual bool IsIncremental ( ) const
inlinevirtualinherited

Definition at line 846 of file constraint_solveri.h.

◆ IsInverseValue()

bool IsInverseValue ( int64  index) const
inlineprotectedinherited

Definition at line 1072 of file constraint_solveri.h.

◆ MakeNextNeighbor() [1/4]

bool MakeNextNeighbor ( Assignment *  delta,
Assignment *  deltadelta 
)
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.

◆ MakeNextNeighbor() [2/4]

virtual bool MakeNextNeighbor ( operations_research::Assignment *  delta,
operations_research::Assignment *  deltadelta 
)
virtual

◆ MakeNextNeighbor() [3/4]

virtual bool MakeNextNeighbor ( operations_research::Assignment *  delta,
operations_research::Assignment *  deltadelta 
)
virtual

◆ MakeNextNeighbor() [4/4]

bool MakeNextNeighbor ( operations_research::Assignment *  delta,
operations_research::Assignment *  deltadelta 
)
virtual

Definition at line 4308 of file constraint_solver_csharp_wrap.cc.

◆ MakeOneNeighbor() [1/3]

virtual bool MakeOneNeighbor ( )
virtual

Creates a new neighbor.

It returns false when the neighborhood is completely explored. MakeNextNeighbor() in a subclass of IntVarLocalSearchOperator.

Reimplemented from IntVarLocalSearchOperator.

◆ MakeOneNeighbor() [2/3]

virtual bool MakeOneNeighbor ( )
virtual

Creates a new neighbor.

It returns false when the neighborhood is completely explored. MakeNextNeighbor() in a subclass of IntVarLocalSearchOperator.

Reimplemented from IntVarLocalSearchOperator.

◆ MakeOneNeighbor() [3/3]

bool MakeOneNeighbor ( )
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.

◆ MakeOneNeighborSwigPublic() [1/3]

virtual bool MakeOneNeighborSwigPublic ( )
inlinevirtual

Definition at line 146 of file constraint_solver_java_wrap.h.

◆ MakeOneNeighborSwigPublic() [2/3]

virtual bool MakeOneNeighborSwigPublic ( )
inlinevirtual

Definition at line 409 of file constraint_solver_python_wrap.h.

◆ MakeOneNeighborSwigPublic() [3/3]

virtual bool MakeOneNeighborSwigPublic ( )
inlinevirtual

Definition at line 613 of file constraint_solver_csharp_wrap.h.

◆ MarkChange()

void MarkChange ( int64  index)
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.

◆ OldInverseValue()

int64 OldInverseValue ( int64  index) const
inlineprotectedinherited

Definition at line 1079 of file constraint_solveri.h.

◆ OldValue()

const int64 & OldValue ( int64  index) const
inlineinherited

Definition at line 857 of file constraint_solveri.h.

◆ OnStart() [1/3]

virtual void OnStart ( )
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 >.

◆ OnStart() [2/3]

virtual void OnStart ( )
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 >.

◆ OnStart() [3/3]

void OnStart ( )
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.

◆ Reset() [1/3]

virtual void Reset ( )
virtual

Reimplemented from LocalSearchOperator.

◆ Reset() [2/3]

virtual void Reset ( )
virtual

Reimplemented from LocalSearchOperator.

◆ Reset() [3/3]

void Reset ( )
virtual

Reimplemented from LocalSearchOperator.

Definition at line 4316 of file constraint_solver_csharp_wrap.cc.

◆ RevertChanges()

void RevertChanges ( bool  incremental)
inlineinherited

Definition at line 895 of file constraint_solveri.h.

◆ Self()

virtual const LocalSearchOperator* Self ( ) const
inlinevirtualinherited

Definition at line 813 of file constraint_solveri.h.

◆ SetInverseValue()

void SetInverseValue ( int64  index,
int64  value 
)
inlineprotectedinherited

Definition at line 1083 of file constraint_solveri.h.

◆ SetOldInverseValue()

void SetOldInverseValue ( int64  index,
int64  value 
)
inlineprotectedinherited

Definition at line 1087 of file constraint_solveri.h.

◆ SetValue()

void SetValue ( int64  index,
const Val &  value 
)
inlineinherited

Definition at line 858 of file constraint_solveri.h.

◆ Size()

int Size ( ) const
inlineinherited

Definition at line 847 of file constraint_solveri.h.

◆ SkipUnchanged() [1/3]

virtual bool SkipUnchanged ( int  index) const
virtual

◆ SkipUnchanged() [2/3]

virtual bool SkipUnchanged ( int  index) const
virtual

◆ SkipUnchanged() [3/3]

bool SkipUnchanged ( int  index) const
virtual

◆ Start() [1/3]

void Start ( const Assignment *  assignment)
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.

◆ Start() [2/3]

virtual void Start ( operations_research::Assignment const *  assignment)
virtual

◆ Start() [3/3]

void Start ( operations_research::Assignment const *  assignment)
virtual

Definition at line 4312 of file constraint_solver_csharp_wrap.cc.

◆ swig_acquire_ownership() [1/2]

void swig_acquire_ownership ( Type *  vptr) const
inlineinherited

Definition at line 3053 of file constraint_solver_python_wrap.cc.

◆ swig_acquire_ownership() [2/2]

void swig_acquire_ownership ( Type *  vptr) const
inlineinherited

Definition at line 3054 of file sat_python_wrap.cc.

◆ swig_acquire_ownership_array() [1/2]

void swig_acquire_ownership_array ( Type *  vptr) const
inlineinherited

Definition at line 3045 of file constraint_solver_python_wrap.cc.

◆ swig_acquire_ownership_array() [2/2]

void swig_acquire_ownership_array ( Type *  vptr) const
inlineinherited

Definition at line 3046 of file sat_python_wrap.cc.

◆ swig_acquire_ownership_obj() [1/2]

void swig_acquire_ownership_obj ( void *  vptr,
int  own 
) const
inlineinherited

Definition at line 3060 of file constraint_solver_python_wrap.cc.

◆ swig_acquire_ownership_obj() [2/2]

void swig_acquire_ownership_obj ( void *  vptr,
int  own 
) const
inlineinherited

Definition at line 3061 of file sat_python_wrap.cc.

◆ swig_connect_director() [1/2]

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.

◆ swig_connect_director() [2/2]

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.

◆ swig_disconnect_director_self() [1/2]

void swig_disconnect_director_self ( const char *  disconn_method)
inlineprotectedinherited

Definition at line 471 of file sat_java_wrap.cc.

◆ swig_disconnect_director_self() [2/2]

void swig_disconnect_director_self ( const char *  disconn_method)
inlineprotectedinherited

Definition at line 488 of file constraint_solver_java_wrap.cc.

◆ swig_disown() [1/2]

void swig_disown ( ) const
inlineinherited

Definition at line 3013 of file constraint_solver_python_wrap.cc.

◆ swig_disown() [2/2]

void swig_disown ( ) const
inlineinherited

Definition at line 3014 of file sat_python_wrap.cc.

◆ swig_get_inner()

bool swig_get_inner ( const char *  swig_protected_method_name) const
inlinevirtual

Reimplemented from Director.

Definition at line 415 of file constraint_solver_python_wrap.h.

◆ swig_get_self() [1/4]

PyObject* swig_get_self ( ) const
inlineinherited

Definition at line 3008 of file constraint_solver_python_wrap.cc.

◆ swig_get_self() [2/4]

PyObject* swig_get_self ( ) const
inlineinherited

Definition at line 3009 of file sat_python_wrap.cc.

◆ swig_get_self() [3/4]

jobject swig_get_self ( JNIEnv *  jenv) const
inlineinherited

Definition at line 506 of file sat_java_wrap.cc.

◆ swig_get_self() [4/4]

jobject swig_get_self ( JNIEnv *  jenv) const
inlineinherited

Definition at line 523 of file constraint_solver_java_wrap.cc.

◆ swig_incref() [1/2]

void swig_incref ( ) const
inlineinherited

Definition at line 3021 of file constraint_solver_python_wrap.cc.

◆ swig_incref() [2/2]

void swig_incref ( ) const
inlineinherited

Definition at line 3022 of file sat_python_wrap.cc.

◆ swig_java_change_ownership() [1/2]

void swig_java_change_ownership ( JNIEnv *  jenv,
jobject  jself,
bool  take_or_release 
)
inlineinherited

Definition at line 511 of file sat_java_wrap.cc.

◆ swig_java_change_ownership() [2/2]

void swig_java_change_ownership ( JNIEnv *  jenv,
jobject  jself,
bool  take_or_release 
)
inlineinherited

Definition at line 528 of file constraint_solver_java_wrap.cc.

◆ swig_overrides()

bool swig_overrides ( int  n)
inline

Definition at line 150 of file constraint_solver_java_wrap.h.

◆ swig_pyobj_disown() [1/2]

static PyObject* swig_pyobj_disown ( PyObject *  pyobj,
PyObject *  SWIGUNUSEDPARMargs 
)
inlinestaticinherited

Definition at line 3081 of file constraint_solver_python_wrap.cc.

◆ swig_pyobj_disown() [2/2]

static PyObject* swig_pyobj_disown ( PyObject *  pyobj,
PyObject *  SWIGUNUSEDPARMargs 
)
inlinestaticinherited

Definition at line 3082 of file sat_python_wrap.cc.

◆ swig_release_ownership() [1/2]

int swig_release_ownership ( void *  vptr) const
inlineinherited

Definition at line 3067 of file constraint_solver_python_wrap.cc.

◆ swig_release_ownership() [2/2]

int swig_release_ownership ( void *  vptr) const
inlineinherited

Definition at line 3068 of file sat_python_wrap.cc.

◆ swig_set_inner()

void swig_set_inner ( const char *  swig_protected_method_name,
bool  swig_val 
) const
inlinevirtual

Reimplemented from Director.

Definition at line 419 of file constraint_solver_python_wrap.h.

◆ swig_set_self() [1/2]

bool swig_set_self ( JNIEnv *  jenv,
jobject  jself,
bool  mem_own,
bool  weak_global 
)
inlineinherited

Definition at line 502 of file sat_java_wrap.cc.

◆ swig_set_self() [2/2]

bool swig_set_self ( JNIEnv *  jenv,
jobject  jself,
bool  mem_own,
bool  weak_global 
)
inlineinherited

Definition at line 519 of file constraint_solver_java_wrap.cc.

◆ Value()

const int64 & Value ( int64  index) const
inlineinherited

Returns the value in the current assignment of the variable of given index.

Definition at line 850 of file constraint_solveri.h.

◆ Var()

IntVar * Var ( int64  index) const
inlineinherited

Returns the variable of given index.

Definition at line 855 of file constraint_solveri.h.

Member Data Documentation

◆ activated_

Bitset64 activated_
protectedinherited

Definition at line 942 of file constraint_solveri.h.

◆ assignment_indices_

std::vector<int> assignment_indices_
mutableprotectedinherited

Definition at line 941 of file constraint_solveri.h.

◆ changes_

SparseBitset changes_
protectedinherited

Definition at line 944 of file constraint_solveri.h.

◆ cleared_

bool cleared_
protectedinherited

Definition at line 946 of file constraint_solveri.h.

◆ delta_changes_

SparseBitset delta_changes_
protectedinherited

Definition at line 945 of file constraint_solveri.h.

◆ old_values_

std::vector<int64 > old_values_
protectedinherited

Definition at line 939 of file constraint_solveri.h.

◆ prev_values_

std::vector<int64 > prev_values_
protectedinherited

Definition at line 940 of file constraint_solveri.h.

◆ swig_override

Swig::BoolArray<7> swig_override
protected

Definition at line 154 of file constraint_solver_java_wrap.h.

◆ swig_self_

JObjectWrapper swig_self_
protectedinherited

Definition at line 485 of file constraint_solver_java_wrap.cc.

◆ values_

std::vector<int64 > values_
protectedinherited

Definition at line 938 of file constraint_solveri.h.

◆ var_handler_

IntVarLocalSearchHandler var_handler_
protectedinherited

Definition at line 947 of file constraint_solveri.h.

◆ vars_

std::vector<IntVar *> vars_
protectedinherited

Definition at line 937 of file constraint_solveri.h.

◆ was_activated_

Bitset64 was_activated_
protectedinherited

Definition at line 943 of file constraint_solveri.h.


The documentation for this class was generated from the following files: