9 package com.google.ortools.constraintsolver;
15 private transient long swigCPtr;
18 super(mainJNI.SolutionCollector_SWIGUpcast(cPtr), cMemoryOwn);
23 return (obj ==
null) ? 0 : obj.swigCPtr;
26 @SuppressWarnings(
"deprecation")
27 protected
void finalize() {
31 public synchronized void delete() {
35 mainJNI.delete_SolutionCollector(swigCPtr);
51 return mainJNI.SolutionCollector_toString(swigCPtr,
this);
58 mainJNI.SolutionCollector_add__SWIG_0(swigCPtr,
this,
IntVar.getCPtr(var), var);
62 mainJNI.SolutionCollector_add__SWIG_1(swigCPtr,
this, vars);
66 mainJNI.SolutionCollector_add__SWIG_2(swigCPtr,
this,
IntervalVar.getCPtr(var), var);
70 mainJNI.SolutionCollector_add__SWIG_3(swigCPtr,
this, vars);
74 mainJNI.SolutionCollector_add__SWIG_4(swigCPtr,
this,
SequenceVar.getCPtr(var), var);
78 mainJNI.SolutionCollector_add__SWIG_5(swigCPtr,
this, vars);
82 mainJNI.SolutionCollector_addObjective(swigCPtr,
this,
IntVar.getCPtr(objective), objective);
89 mainJNI.SolutionCollector_enterSearch(swigCPtr,
this);
96 return mainJNI.SolutionCollector_solutionCount(swigCPtr,
this);
103 long cPtr = mainJNI.SolutionCollector_solution(swigCPtr,
this, n);
104 return (cPtr == 0) ? null :
new Assignment(cPtr,
false);
111 return mainJNI.SolutionCollector_wallTime(swigCPtr,
this, n);
118 return mainJNI.SolutionCollector_branches(swigCPtr,
this, n);
125 return mainJNI.SolutionCollector_failures(swigCPtr,
this, n);
132 return mainJNI.SolutionCollector_objectiveValue(swigCPtr,
this, n);
139 return mainJNI.SolutionCollector_value(swigCPtr,
this, n,
IntVar.getCPtr(var), var);
146 return mainJNI.SolutionCollector_startValue(swigCPtr,
this, n,
IntervalVar.getCPtr(var), var);
153 return mainJNI.SolutionCollector_endValue(swigCPtr,
this, n,
IntervalVar.getCPtr(var), var);
160 return mainJNI.SolutionCollector_durationValue(swigCPtr,
this, n,
IntervalVar.getCPtr(var), var);
167 return mainJNI.SolutionCollector_performedValue(swigCPtr,
this, n,
IntervalVar.getCPtr(var), var);
174 return mainJNI.SolutionCollector_forwardSequence(swigCPtr,
this, n,
SequenceVar.getCPtr(var), var);
181 return mainJNI.SolutionCollector_backwardSequence(swigCPtr,
this, n,
SequenceVar.getCPtr(var), var);
188 return mainJNI.SolutionCollector_unperformed(swigCPtr,
this, n,
SequenceVar.getCPtr(var), var);