9 package com.google.ortools.constraintsolver;
12 private transient long swigCPtr;
15 super(mainJNI.LocalSearchOperator_SWIGUpcast(cPtr), cMemoryOwn);
20 return (obj ==
null) ? 0 : obj.swigCPtr;
23 @SuppressWarnings(
"deprecation")
28 public synchronized void delete() {
32 mainJNI.delete_LocalSearchOperator(swigCPtr);
46 mainJNI.LocalSearchOperator_change_ownership(
this, swigCPtr,
false);
51 mainJNI.LocalSearchOperator_change_ownership(
this, swigCPtr,
true);
55 this(mainJNI.new_LocalSearchOperator(),
true);
56 mainJNI.LocalSearchOperator_director_connect(
this, swigCPtr,
true,
true);
64 mainJNI.LocalSearchOperator_start(swigCPtr,
this,
Assignment.
getCPtr(assignment), assignment);
68 if (getClass() ==
LocalSearchOperator.class) mainJNI.LocalSearchOperator_reset(swigCPtr,
this);
else mainJNI.LocalSearchOperator_resetSwigExplicitLocalSearchOperator(swigCPtr,
this);
72 return (getClass() ==
LocalSearchOperator.class) ? mainJNI.LocalSearchOperator_HasFragments(swigCPtr,
this) : mainJNI.LocalSearchOperator_HasFragmentsSwigExplicitLocalSearchOperator(swigCPtr,
this);
76 return (getClass() ==
LocalSearchOperator.class) ? mainJNI.LocalSearchOperator_HoldsDelta(swigCPtr,
this) : mainJNI.LocalSearchOperator_HoldsDeltaSwigExplicitLocalSearchOperator(swigCPtr,
this);