9package com.google.ortools.constraintsolver;
44 private transient long swigCPtr;
47 super(mainJNI.LocalSearchFilter_SWIGUpcast(cPtr), cMemoryOwn);
52 return (obj ==
null) ? 0 : obj.swigCPtr;
59 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
61 obj.swigCMemOwn =
false;
67 @SuppressWarnings({
"deprecation",
"removal"})
76 mainJNI.delete_LocalSearchFilter(swigCPtr);
90 mainJNI.LocalSearchFilter_change_ownership(
this, swigCPtr,
false);
95 mainJNI.LocalSearchFilter_change_ownership(
this, swigCPtr,
true);
103 if (getClass() ==
LocalSearchFilter.class) mainJNI.LocalSearchFilter_Relax(swigCPtr,
this,
Assignment.
getCPtr(delta), delta,
Assignment.
getCPtr(deltadelta), deltadelta);
else mainJNI.LocalSearchFilter_RelaxSwigExplicitLocalSearchFilter(swigCPtr,
this,
Assignment.
getCPtr(delta), delta,
Assignment.
getCPtr(deltadelta), deltadelta);
110 if (getClass() ==
LocalSearchFilter.class) mainJNI.LocalSearchFilter_Commit(swigCPtr,
this,
Assignment.
getCPtr(delta), delta,
Assignment.
getCPtr(deltadelta), deltadelta);
else mainJNI.LocalSearchFilter_CommitSwigExplicitLocalSearchFilter(swigCPtr,
this,
Assignment.
getCPtr(delta), delta,
Assignment.
getCPtr(deltadelta), deltadelta);
129 return (getClass() ==
LocalSearchFilter.class) ? mainJNI.LocalSearchFilter_isIncremental(swigCPtr,
this) : mainJNI.LocalSearchFilter_isIncrementalSwigExplicitLocalSearchFilter(swigCPtr,
this);
147 if (getClass() ==
LocalSearchFilter.class) mainJNI.LocalSearchFilter_Revert(swigCPtr,
this);
else mainJNI.LocalSearchFilter_RevertSwigExplicitLocalSearchFilter(swigCPtr,
this);
154 if (getClass() ==
LocalSearchFilter.class) mainJNI.LocalSearchFilter_Reset(swigCPtr,
this);
else mainJNI.LocalSearchFilter_ResetSwigExplicitLocalSearchFilter(swigCPtr,
this);
161 return (getClass() ==
LocalSearchFilter.class) ? mainJNI.LocalSearchFilter_getSynchronizedObjectiveValue(swigCPtr,
this) : mainJNI.LocalSearchFilter_getSynchronizedObjectiveValueSwigExplicitLocalSearchFilter(swigCPtr,
this);
168 return (getClass() ==
LocalSearchFilter.class) ? mainJNI.LocalSearchFilter_getAcceptedObjectiveValue(swigCPtr,
this) : mainJNI.LocalSearchFilter_getAcceptedObjectiveValueSwigExplicitLocalSearchFilter(swigCPtr,
this);
172 this(mainJNI.new_LocalSearchFilter(),
true);
173 mainJNI.LocalSearchFilter_director_connect(
this, swigCPtr,
true,
true);