11 #ifndef SWIG_pywrapcp_WRAP_H_
12 #define SWIG_pywrapcp_WRAP_H_
28 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
29 return (iv != swig_inner.end() ? iv->second :
false);
31 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
32 swig_inner[swig_protected_method_name] = swig_val;
35 mutable std::map<std::string, bool> swig_inner;
37 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
39 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
40 PyObject *method = vtable[method_index];
45 std::string msg =
"Method in class BaseObject doesn't exist, undefined ";
49 vtable[method_index] = method;
66 virtual std::string
name()
const;
71 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
72 return (iv != swig_inner.end() ? iv->second :
false);
74 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
75 swig_inner[swig_protected_method_name] = swig_val;
78 mutable std::map<std::string, bool> swig_inner;
80 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
82 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
83 PyObject *method = vtable[method_index];
88 std::string msg =
"Method in class PropagationBaseObject doesn't exist, undefined ";
92 vtable[method_index] = method;
109 virtual void Apply(operations_research::Solver *
const s);
110 virtual void Refute(operations_research::Solver *
const s);
115 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
116 return (iv != swig_inner.end() ? iv->second :
false);
118 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
119 swig_inner[swig_protected_method_name] = swig_val;
122 mutable std::map<std::string, bool> swig_inner;
124 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
126 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
127 PyObject *method = vtable[method_index];
132 std::string msg =
"Method in class Decision doesn't exist, undefined ";
136 vtable[method_index] = method;
153 virtual operations_research::Decision *
Next(operations_research::Solver *
const s);
158 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
159 return (iv != swig_inner.end() ? iv->second :
false);
161 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
162 swig_inner[swig_protected_method_name] = swig_val;
165 mutable std::map<std::string, bool> swig_inner;
167 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
169 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
170 PyObject *method = vtable[method_index];
175 std::string msg =
"Method in class DecisionBuilder doesn't exist, undefined ";
179 vtable[method_index] = method;
196 virtual void Run(operations_research::Solver *
const s);
197 virtual operations_research::Solver::DemonPriority
priority()
const;
202 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
203 return (iv != swig_inner.end() ? iv->second :
false);
205 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
206 swig_inner[swig_protected_method_name] = swig_val;
209 mutable std::map<std::string, bool> swig_inner;
211 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
213 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
214 PyObject *method = vtable[method_index];
219 std::string msg =
"Method in class Demon doesn't exist, undefined ";
223 vtable[method_index] = method;
240 virtual std::string
name()
const;
243 virtual void Accept(operations_research::ModelVisitor *
const visitor)
const;
244 virtual operations_research::IntVar *
Var();
249 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
250 return (iv != swig_inner.end() ? iv->second :
false);
252 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
253 swig_inner[swig_protected_method_name] = swig_val;
256 mutable std::map<std::string, bool> swig_inner;
258 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
260 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
261 PyObject *method = vtable[method_index];
266 std::string msg =
"Method in class Constraint doesn't exist, undefined ";
270 vtable[method_index] = method;
291 virtual void EndNextDecision(operations_research::DecisionBuilder *
const b, operations_research::Decision *
const d);
294 virtual void AfterDecision(operations_research::Decision *
const d,
bool apply);
303 virtual bool AcceptDelta(operations_research::Assignment *
delta, operations_research::Assignment *deltadelta);
309 virtual void Accept(operations_research::ModelVisitor *
const visitor)
const;
315 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
316 return (iv != swig_inner.end() ? iv->second :
false);
318 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
319 swig_inner[swig_protected_method_name] = swig_val;
322 mutable std::map<std::string, bool> swig_inner;
324 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
326 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
327 PyObject *method = vtable[method_index];
332 std::string msg =
"Method in class SearchMonitor doesn't exist, undefined ";
336 vtable[method_index] = method;
354 virtual void Start(operations_research::Assignment
const *assignment);
362 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
363 return (iv != swig_inner.end() ? iv->second :
false);
365 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
366 swig_inner[swig_protected_method_name] = swig_val;
369 mutable std::map<std::string, bool> swig_inner;
371 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
373 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
374 PyObject *method = vtable[method_index];
379 std::string msg =
"Method in class LocalSearchOperator doesn't exist, undefined ";
383 vtable[method_index] = method;
416 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
417 return (iv != swig_inner.end() ? iv->second :
false);
419 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
420 swig_inner[swig_protected_method_name] = swig_val;
423 mutable std::map<std::string, bool> swig_inner;
425 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
427 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
428 PyObject *method = vtable[method_index];
433 std::string msg =
"Method in class IntVarLocalSearchOperator doesn't exist, undefined ";
437 vtable[method_index] = method;
465 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
466 return (iv != swig_inner.end() ? iv->second :
false);
468 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
469 swig_inner[swig_protected_method_name] = swig_val;
472 mutable std::map<std::string, bool> swig_inner;
474 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
476 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
477 PyObject *method = vtable[method_index];
482 std::string msg =
"Method in class BaseLns doesn't exist, undefined ";
486 vtable[method_index] = method;
519 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
520 return (iv != swig_inner.end() ? iv->second :
false);
522 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
523 swig_inner[swig_protected_method_name] = swig_val;
526 mutable std::map<std::string, bool> swig_inner;
528 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
530 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
531 PyObject *method = vtable[method_index];
536 std::string msg =
"Method in class ChangeValue doesn't exist, undefined ";
540 vtable[method_index] = method;
557 virtual void Relax(operations_research::Assignment
const *
delta, operations_research::Assignment
const *deltadelta);
558 virtual void Commit(operations_research::Assignment
const *
delta, operations_research::Assignment
const *deltadelta);
559 virtual bool Accept(operations_research::Assignment
const *
delta, operations_research::Assignment
const *deltadelta,
int64 objective_min,
int64 objective_max);
561 virtual void Synchronize(operations_research::Assignment
const *assignment, operations_research::Assignment
const *
delta);
573 std::map<std::string, bool>::const_iterator iv = swig_inner.find(swig_protected_method_name);
574 return (iv != swig_inner.end() ? iv->second :
false);
576 void swig_set_inner(
const char *swig_protected_method_name,
bool swig_val)
const {
577 swig_inner[swig_protected_method_name] = swig_val;
580 mutable std::map<std::string, bool> swig_inner;
582 #if defined(SWIG_PYTHON_DIRECTOR_VTABLE)
584 PyObject *swig_get_method(
size_t method_index,
const char *method_name)
const {
585 PyObject *method = vtable[method_index];
590 std::string msg =
"Method in class IntVarLocalSearchFilter doesn't exist, undefined ";
594 vtable[method_index] = method;