9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
15 super(mainJNI.SolutionCollector_SWIGUpcast(cPtr), cMemoryOwn);
20 return (obj ==
null) ? 0 : obj.swigCPtr;
27 public synchronized void delete() {
31 mainJNI.delete_SolutionCollector(swigCPtr);
47 return mainJNI.SolutionCollector_toString(swigCPtr,
this);
51 mainJNI.SolutionCollector_add__SWIG_0(swigCPtr,
this,
IntVar.
getCPtr(var), var);
55 mainJNI.SolutionCollector_add__SWIG_1(swigCPtr,
this, vars);
63 mainJNI.SolutionCollector_add__SWIG_3(swigCPtr,
this, vars);
71 mainJNI.SolutionCollector_add__SWIG_5(swigCPtr,
this, vars);
75 mainJNI.SolutionCollector_addObjective(swigCPtr,
this,
IntVar.
getCPtr(objective), objective);
79 mainJNI.SolutionCollector_enterSearch(swigCPtr,
this);
83 return mainJNI.SolutionCollector_solutionCount(swigCPtr,
this);
87 long cPtr = mainJNI.SolutionCollector_solution(swigCPtr,
this, n);
88 return (cPtr == 0) ? null :
new Assignment(cPtr,
false);
92 return mainJNI.SolutionCollector_wallTime(swigCPtr,
this, n);
96 return mainJNI.SolutionCollector_branches(swigCPtr,
this, n);
100 return mainJNI.SolutionCollector_failures(swigCPtr,
this, n);
104 return mainJNI.SolutionCollector_objectiveValue(swigCPtr,
this, n);
108 return mainJNI.SolutionCollector_value(swigCPtr,
this, n,
IntVar.
getCPtr(var), var);
112 return mainJNI.SolutionCollector_startValue(swigCPtr,
this, n,
IntervalVar.
getCPtr(var), var);
116 return mainJNI.SolutionCollector_endValue(swigCPtr,
this, n,
IntervalVar.
getCPtr(var), var);
120 return mainJNI.SolutionCollector_durationValue(swigCPtr,
this, n,
IntervalVar.
getCPtr(var), var);
124 return mainJNI.SolutionCollector_performedValue(swigCPtr,
this, n,
IntervalVar.
getCPtr(var), var);
128 return mainJNI.SolutionCollector_forwardSequence(swigCPtr,
this, n,
SequenceVar.
getCPtr(var), var);
132 return mainJNI.SolutionCollector_backwardSequence(swigCPtr,
this, n,
SequenceVar.
getCPtr(var), var);
136 return mainJNI.SolutionCollector_unperformed(swigCPtr,
this, n,
SequenceVar.
getCPtr(var), var);