9package com.google.ortools.constraintsolver;
18 private transient long swigCPtr;
21 super(mainJNI.PropagationBaseObject_SWIGUpcast(cPtr), cMemoryOwn);
26 return (obj ==
null) ? 0 : obj.swigCPtr;
33 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
35 obj.swigCMemOwn =
false;
41 @SuppressWarnings({
"deprecation",
"removal"})
50 mainJNI.delete_PropagationBaseObject(swigCPtr);
58 this(mainJNI.new_PropagationBaseObject(
Solver.
getCPtr(s), s),
true);
62 return mainJNI.PropagationBaseObject_toString(swigCPtr,
this);
66 long cPtr = mainJNI.PropagationBaseObject_solver(swigCPtr,
this);
67 return (cPtr == 0) ? null :
new Solver(cPtr,
false);
75 mainJNI.PropagationBaseObject_freezeQueue(swigCPtr,
this);
83 mainJNI.PropagationBaseObject_unfreezeQueue(swigCPtr,
this);
92 mainJNI.PropagationBaseObject_enqueueDelayedDemon(swigCPtr,
this,
Demon.
getCPtr(d), d);
96 mainJNI.PropagationBaseObject_enqueueVar(swigCPtr,
this,
Demon.
getCPtr(d), d);
103 mainJNI.PropagationBaseObject_reset_action_on_fail(swigCPtr,
this);
110 mainJNI.PropagationBaseObject_set_variable_to_clean_on_fail(swigCPtr,
this,
IntVar.
getCPtr(v), v);
117 return mainJNI.PropagationBaseObject_name(swigCPtr,
this);
121 mainJNI.PropagationBaseObject_setName(swigCPtr,
this,
name);
128 return mainJNI.PropagationBaseObject_hasName(swigCPtr,
this);
135 return mainJNI.PropagationBaseObject_baseName(swigCPtr,
this);