OR-Tools  9.2
SwigDirector_DecisionBuilder

Detailed Description

Definition at line 38 of file constraint_solver_csharp_wrap.h.

Public Types

typedef char *(SWIGSTDCALLSWIG_Callback0_t) ()
 
typedef void *(SWIGSTDCALLSWIG_Callback1_t) (void *)
 

Public Member Functions

 SwigDirector_DecisionBuilder ()
 
virtual ~SwigDirector_DecisionBuilder ()
 
virtual std::string DebugString () const
 
virtual operations_research::DecisionNext (operations_research::Solver *const s)
 This is the main method of the decision builder class. More...
 
void swig_connect_director (SWIG_Callback0_t callbackToString, SWIG_Callback1_t callbackNextWrapper)
 
void swig_connect_director (JNIEnv *jenv, jobject jself, jclass jcls, bool swig_mem_own, bool weak_global)
 
 SwigDirector_DecisionBuilder (JNIEnv *jenv)
 
virtual ~SwigDirector_DecisionBuilder ()
 
virtual std::string DebugString () const
 
virtual operations_research::DecisionNext (operations_research::Solver *const s)
 This is the main method of the decision builder class. More...
 
bool swig_overrides (int n)
 
 SwigDirector_DecisionBuilder (PyObject *self)
 
virtual ~SwigDirector_DecisionBuilder ()
 
virtual std::string DebugString () const
 
virtual operations_research::DecisionNext (operations_research::Solver *const s)
 This is the main method of the decision builder class. More...
 
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
 
virtual void AppendMonitors (Solver *const solver, std::vector< SearchMonitor * > *const extras)
 This method will be called at the start of the search. More...
 
virtual void Accept (ModelVisitor *const visitor) const
 
void set_name (const std::string &name)
 
std::string GetName () 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

void swig_disconnect_director_self (const char *disconn_method)
 
void swig_disconnect_director_self (const char *disconn_method)
 

Protected Attributes

Swig::BoolArray< 2 > swig_override
 
JObjectWrapper swig_self_
 

Member Typedef Documentation

◆ SWIG_Callback0_t

typedef char *(SWIGSTDCALL * SWIG_Callback0_t) ()

Definition at line 46 of file constraint_solver_csharp_wrap.h.

◆ SWIG_Callback1_t

typedef void *(SWIGSTDCALL * SWIG_Callback1_t) (void *)

Definition at line 47 of file constraint_solver_csharp_wrap.h.

Constructor & Destructor Documentation

◆ SwigDirector_DecisionBuilder() [1/3]

◆ ~SwigDirector_DecisionBuilder() [1/3]

Definition at line 2086 of file constraint_solver_csharp_wrap.cc.

◆ SwigDirector_DecisionBuilder() [2/3]

SwigDirector_DecisionBuilder ( JNIEnv *  jenv)

Definition at line 1370 of file constraint_solver_java_wrap.cc.

◆ ~SwigDirector_DecisionBuilder() [2/3]

virtual ~SwigDirector_DecisionBuilder ( )
virtual

◆ SwigDirector_DecisionBuilder() [3/3]

SwigDirector_DecisionBuilder ( PyObject *  self)

Definition at line 4853 of file constraint_solver_python_wrap.cc.

◆ ~SwigDirector_DecisionBuilder() [3/3]

virtual ~SwigDirector_DecisionBuilder ( )
virtual

Member Function Documentation

◆ Accept()

void Accept ( ModelVisitor *const  visitor) const
virtualinherited

Reimplemented in ProfiledDecisionBuilder.

Definition at line 2542 of file constraint_solver.cc.

◆ AppendMonitors()

void AppendMonitors ( Solver *const  solver,
std::vector< SearchMonitor * > *const  extras 
)
virtualinherited

This method will be called at the start of the search.

It asks the decision builder if it wants to append search monitors to the list of active monitors for this search. Please note there are no checks at this point for duplication.

Reimplemented in ProfiledDecisionBuilder.

Definition at line 2539 of file constraint_solver.cc.

◆ DebugString() [1/3]

std::string DebugString ( ) const
virtual

Reimplemented from DecisionBuilder.

Definition at line 2091 of file constraint_solver_csharp_wrap.cc.

◆ DebugString() [2/3]

virtual std::string DebugString ( ) const
virtual

Reimplemented from DecisionBuilder.

◆ DebugString() [3/3]

virtual std::string DebugString ( ) const
virtual

Reimplemented from DecisionBuilder.

◆ GetName()

std::string GetName ( ) const
inherited

Definition at line 2535 of file constraint_solver.cc.

◆ Next() [1/3]

This is the main method of the decision builder class.

It must return a decision (an instance of the class Decision). If it returns nullptr, this means that the decision builder has finished its work.

Implements DecisionBuilder.

Definition at line 2108 of file constraint_solver_csharp_wrap.cc.

◆ Next() [2/3]

virtual operations_research::Decision * Next ( operations_research::Solver *const  s)
virtual

This is the main method of the decision builder class.

It must return a decision (an instance of the class Decision). If it returns nullptr, this means that the decision builder has finished its work.

Implements DecisionBuilder.

◆ Next() [3/3]

virtual operations_research::Decision * Next ( operations_research::Solver *const  s)
virtual

This is the main method of the decision builder class.

It must return a decision (an instance of the class Decision). If it returns nullptr, this means that the decision builder has finished its work.

Implements DecisionBuilder.

◆ set_name()

void set_name ( const std::string &  name)
inlineinherited

Definition at line 3304 of file constraint_solver.h.

◆ 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 1442 of file constraint_solver_java_wrap.cc.

◆ swig_connect_director() [2/2]

void swig_connect_director ( SWIG_Callback0_t  callbackToString,
SWIG_Callback1_t  callbackNextWrapper 
)

Definition at line 2124 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 488 of file constraint_solver_java_wrap.cc.

◆ swig_disconnect_director_self() [2/2]

void swig_disconnect_director_self ( const char *  disconn_method)
inlineprotectedinherited

Definition at line 471 of file sat_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 157 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 523 of file constraint_solver_java_wrap.cc.

◆ swig_get_self() [4/4]

jobject swig_get_self ( JNIEnv *  jenv) const
inlineinherited

Definition at line 506 of file sat_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 528 of file constraint_solver_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 511 of file sat_java_wrap.cc.

◆ swig_overrides()

bool swig_overrides ( int  n)
inline

Definition at line 63 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 161 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 519 of file constraint_solver_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 502 of file sat_java_wrap.cc.

Member Data Documentation

◆ swig_override

Swig::BoolArray<2> swig_override
protected

Definition at line 67 of file constraint_solver_java_wrap.h.

◆ swig_self_

JObjectWrapper swig_self_
protectedinherited

Definition at line 485 of file constraint_solver_java_wrap.cc.


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