Select Git revision
DG_Approximation.py
-
Laura Christine Kühle authoredLaura Christine Kühle authored
Code owners
Assign users and groups as approvers for specific file changes. Learn more.
ClusterEditingSolutions.java 2.02 KiB
/* ----------------------------------------------------------------------------
* This file was automatically generated by SWIG (http://www.swig.org).
* Version 3.0.8
*
* Do not make changes to this file unless you know what you are doing--modify
* the SWIG interface file instead.
* ----------------------------------------------------------------------------- */
package de.hhu.ba.yoshikoWrapper.swig;
public class ClusterEditingSolutions {
private transient long swigCPtr;
protected transient boolean swigCMemOwn;
protected ClusterEditingSolutions(long cPtr, boolean cMemoryOwn) {
swigCMemOwn = cMemoryOwn;
swigCPtr = cPtr;
}
protected static long getCPtr(ClusterEditingSolutions obj) {
return (obj == null) ? 0 : obj.swigCPtr;
}
protected void finalize() {
delete();
}
public synchronized void delete() {
if (swigCPtr != 0) {
if (swigCMemOwn) {
swigCMemOwn = false;
LibraryInterfaceJNI.delete_ClusterEditingSolutions(swigCPtr);
}
swigCPtr = 0;
}
}
public ClusterEditingSolutions() {
this(LibraryInterfaceJNI.new_ClusterEditingSolutions(), true);
}
public long getNumberOfClusters(long i) {
return LibraryInterfaceJNI.ClusterEditingSolutions_getNumberOfClusters(swigCPtr, this, i);
}
public IntVector getCluster(long i, long k) {
return new IntVector(LibraryInterfaceJNI.ClusterEditingSolutions_getCluster(swigCPtr, this, i, k), false);
}
public SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t getSolution(long i) {
return new SWIGTYPE_p_std__vectorT_std__vectorT_int_t_t(LibraryInterfaceJNI.ClusterEditingSolutions_getSolution(swigCPtr, this, i), false);
}
public long getNumberOfSolutions() {
return LibraryInterfaceJNI.ClusterEditingSolutions_getNumberOfSolutions(swigCPtr, this);
}
public double getTotalCost() {
return LibraryInterfaceJNI.ClusterEditingSolutions_getTotalCost(swigCPtr, this);
}
public boolean isTimedOut() {
return LibraryInterfaceJNI.ClusterEditingSolutions_isTimedOut(swigCPtr, this);
}
}