java.lang.Object
de.uni_mannheim.informatik.dws.melt.matching_jena_matchers.multisource.clustering.Clustering
All Implemented Interfaces:
Serializable, Cloneable

class Clustering extends Object implements Cloneable, Serializable
Clustering
Version:
1.3.1 11/17/14
Author:
Ludo Waltman, Nees Jan van Eck
  • 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

      public static Clustering load(String fileName) throws ClassNotFoundException, IOException
      Throws:
      ClassNotFoundException
      IOException
    • clone

      public Object clone()
      Overrides:
      clone in class Object
    • save

      public void save(String fileName) throws IOException
      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

      public void mergeClusters(Clustering clustering)