9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
14 protected Decision(
long cPtr,
boolean cMemoryOwn) {
15 super(mainJNI.Decision_SWIGUpcast(cPtr), cMemoryOwn);
20 return (obj ==
null) ? 0 : obj.swigCPtr;
23 @SuppressWarnings(
"deprecation")
28 public synchronized void delete() {
32 mainJNI.delete_Decision(swigCPtr);
46 mainJNI.Decision_change_ownership(
this, swigCPtr,
false);
51 mainJNI.Decision_change_ownership(
this, swigCPtr,
true);
55 this(mainJNI.new_Decision(),
true);
56 mainJNI.Decision_director_connect(
this, swigCPtr,
true,
true);
64 mainJNI.Decision_refute(swigCPtr,
this,
Solver.
getCPtr(s), s);
68 return (getClass() ==
Decision.class) ? mainJNI.Decision_toString(swigCPtr,
this) : mainJNI.Decision_toStringSwigExplicitDecision(swigCPtr,
this);