Class Clustering
java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.multisource.clustering.Clustering
- All Implemented Interfaces:
Serializable
,Cloneable
Clustering
- Version:
- 1.3.1 11/17/14
- Author:
- Ludo Waltman, Nees Jan van Eck
-
Field Summary
Modifier and TypeFieldDescriptionprotected int[]
protected int
protected int
private static final long
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionclone()
int
getCluster
(int node) int[]
int
int
int[]
int[][]
void
static Clustering
void
mergeClusters
(Clustering clustering) void
void
void
setCluster
(int node, int cluster)
-
Field Details
-
serialVersionUID
private static final long serialVersionUID- See Also:
-
nNodes
protected int nNodes -
nClusters
protected int nClusters -
cluster
protected int[] cluster
-
-
Constructor Details
-
Clustering
public Clustering(int nNodes) -
Clustering
public Clustering(int[] cluster)
-
-
Method Details
-
load
- Throws:
ClassNotFoundException
IOException
-
clone
-
save
- Throws:
IOException
-
getNNodes
public int getNNodes() -
getNClusters
public int getNClusters() -
getClusters
public int[] getClusters() -
getCluster
public int getCluster(int node) -
getNNodesPerCluster
public int[] getNNodesPerCluster() -
getNodesPerCluster
public int[][] getNodesPerCluster() -
setCluster
public void setCluster(int node, int cluster) -
initSingletonClusters
public void initSingletonClusters() -
orderClustersByNNodes
public void orderClustersByNNodes() -
mergeClusters
-