9 package com.google.ortools.sat;
12 private transient long swigCPtr;
21 return (obj ==
null) ? 0 : obj.swigCPtr;
28 public synchronized void delete() {
32 mainJNI.delete_SolutionCallback(swigCPtr);
45 mainJNI.SolutionCallback_change_ownership(
this, swigCPtr,
false);
50 mainJNI.SolutionCallback_change_ownership(
this, swigCPtr,
true);
54 mainJNI.SolutionCallback_onSolutionCallback(swigCPtr,
this);
58 return mainJNI.SolutionCallback_numBooleans(swigCPtr,
this);
62 return mainJNI.SolutionCallback_numBranches(swigCPtr,
this);
66 return mainJNI.SolutionCallback_numConflicts(swigCPtr,
this);
70 return mainJNI.SolutionCallback_numBinaryPropagations(swigCPtr,
this);
74 return mainJNI.SolutionCallback_numIntegerPropagations(swigCPtr,
this);
78 return mainJNI.SolutionCallback_wallTime(swigCPtr,
this);
82 return mainJNI.SolutionCallback_userTime(swigCPtr,
this);
86 return mainJNI.SolutionCallback_objectiveValue(swigCPtr,
this);
90 return mainJNI.SolutionCallback_bestObjectiveBound(swigCPtr,
this);
94 return mainJNI.SolutionCallback_solutionIntegerValue(swigCPtr,
this, index);
98 return mainJNI.SolutionCallback_solutionBooleanValue(swigCPtr,
this, index);
102 mainJNI.SolutionCallback_stopSearch(swigCPtr,
this);
106 this(mainJNI.new_SolutionCallback(),
true);
107 mainJNI.SolutionCallback_director_connect(
this, swigCPtr,
swigCMemOwn,
true);