9package com.google.ortools.constraintsolver;
17 private transient long swigCPtr;
20 super(mainJNI.LocalSearchFilterManager_SWIGUpcast(cPtr), cMemoryOwn);
25 return (obj ==
null) ? 0 : obj.swigCPtr;
32 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
34 obj.swigCMemOwn =
false;
40 @SuppressWarnings({
"deprecation",
"removal"})
49 mainJNI.delete_LocalSearchFilterManager(swigCPtr);
63 mainJNI.LocalSearchFilterManager_change_ownership(
this, swigCPtr,
false);
68 mainJNI.LocalSearchFilterManager_change_ownership(
this, swigCPtr,
true);
72 private transient long swigCPtr;
81 return (obj ==
null) ? 0 : obj.swigCPtr;
88 throw new RuntimeException(
"Cannot release ownership as memory is not owned");
90 obj.swigCMemOwn =
false;
96 @SuppressWarnings({
"deprecation",
"removal"})
105 mainJNI.delete_LocalSearchFilterManager_FilterEvent(swigCPtr);
116 long cPtr = mainJNI.LocalSearchFilterManager_FilterEvent_filter_get(swigCPtr,
this);
121 mainJNI.LocalSearchFilterManager_FilterEvent_eventType_set(swigCPtr,
this, value);
125 return mainJNI.LocalSearchFilterManager_FilterEvent_eventType_get(swigCPtr,
this);
129 mainJNI.LocalSearchFilterManager_FilterEvent_priority_set(swigCPtr,
this, value);
133 return mainJNI.LocalSearchFilterManager_FilterEvent_priority_get(swigCPtr,
this);
137 this(mainJNI.new_LocalSearchFilterManager_FilterEvent(),
true);
143 return (getClass() ==
LocalSearchFilterManager.class) ? mainJNI.LocalSearchFilterManager_toString(swigCPtr,
this) : mainJNI.LocalSearchFilterManager_toStringSwigExplicitLocalSearchFilterManager(swigCPtr,
this);
146 public LocalSearchFilterManager(SWIGTYPE_p_std__vectorT_operations_research__LocalSearchFilterManager__FilterEvent_t filter_events) {
147 this(mainJNI.new_LocalSearchFilterManager__SWIG_0(SWIGTYPE_p_std__vectorT_operations_research__LocalSearchFilterManager__FilterEvent_t.getCPtr(filter_events)),
true);
148 mainJNI.LocalSearchFilterManager_director_connect(
this, swigCPtr,
true,
true);
152 this(mainJNI.new_LocalSearchFilterManager__SWIG_1(filters),
true);
153 mainJNI.LocalSearchFilterManager_director_connect(
this, swigCPtr,
true,
true);
157 mainJNI.LocalSearchFilterManager_Revert(swigCPtr,
this);
177 return mainJNI.LocalSearchFilterManager_GetSynchronizedObjectiveValue(swigCPtr,
this);
181 return mainJNI.LocalSearchFilterManager_GetAcceptedObjectiveValue(swigCPtr,
this);
185 public final static int kAccept = mainJNI.LocalSearchFilterManager_kAccept_get();
186 public final static int kRelax = mainJNI.LocalSearchFilterManager_kRelax_get();