9package com.google.ortools.constraintsolver;
17 private transient long swigCPtr;
20 super(mainJNI.SymmetryBreaker_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_SymmetryBreaker(swigCPtr);
63 mainJNI.SymmetryBreaker_change_ownership(
this, swigCPtr,
false);
68 mainJNI.SymmetryBreaker_change_ownership(
this, swigCPtr,
true);
72 this(mainJNI.new_SymmetryBreaker(),
true);
73 mainJNI.SymmetryBreaker_director_connect(
this, swigCPtr,
true,
true);
77 mainJNI.SymmetryBreaker_addIntegerVariableEqualValueClause(swigCPtr,
this,
IntVar.
getCPtr(var), var, value);
81 mainJNI.SymmetryBreaker_addIntegerVariableGreaterOrEqualValueClause(swigCPtr,
this,
IntVar.
getCPtr(var), var, value);
85 mainJNI.SymmetryBreaker_addIntegerVariableLessOrEqualValueClause(swigCPtr,
this,
IntVar.
getCPtr(var), var, value);