9package com.google.ortools.constraintsolver;
16 private transient long swigCPtr;
19 super(mainJNI.SolutionPool_SWIGUpcast(cPtr), cMemoryOwn);
24 return (obj ==
null) ? 0 : obj.swigCPtr;
31 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
33 obj.swigCMemOwn =
false;
39 @SuppressWarnings({
"deprecation",
"removal"})
48 mainJNI.delete_SolutionPool(swigCPtr);
60 mainJNI.SolutionPool_initialize(swigCPtr,
this,
Assignment.
getCPtr(assignment), assignment);
68 mainJNI.SolutionPool_registerNewSolution(swigCPtr,
this,
Assignment.
getCPtr(assignment), assignment);
76 mainJNI.SolutionPool_getNextSolution(swigCPtr,
this,
Assignment.
getCPtr(assignment), assignment);
84 return mainJNI.SolutionPool_syncNeeded(swigCPtr,
this,
Assignment.
getCPtr(local_assignment), local_assignment);