Class ORCLUS.ProjectedEnergy

  • All Implemented Interfaces:
    java.lang.Comparable<ORCLUS.ProjectedEnergy>
    Enclosing class:
    ORCLUS

    private static final class ORCLUS.ProjectedEnergy
    extends java.lang.Object
    implements java.lang.Comparable<ORCLUS.ProjectedEnergy>
    Encapsulates the projected energy for a cluster.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      (package private) ORCLUS.ORCLUSCluster cluster
      Resulting merged cluster
      (package private) int i
      Origin cluster indexes
      (package private) int j
      Origin cluster indexes
      (package private) double projectedEnergy
      Projected energy
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      int compareTo​(ORCLUS.ProjectedEnergy o)
      Compares this object with the specified object for order.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Field Detail

      • i

        int i
        Origin cluster indexes
      • j

        int j
        Origin cluster indexes
      • projectedEnergy

        double projectedEnergy
        Projected energy
    • Constructor Detail

      • ProjectedEnergy

        ProjectedEnergy​(int i,
                        int j,
                        ORCLUS.ORCLUSCluster cluster,
                        double projectedEnergy)
        Constructor.
        Parameters:
        i - First cluster id
        j - Second cluster id
        cluster - Resulting merged cluster
        projectedEnergy - Projected energy
    • Method Detail

      • compareTo

        public int compareTo​(ORCLUS.ProjectedEnergy o)
        Compares this object with the specified object for order.
        Specified by:
        compareTo in interface java.lang.Comparable<ORCLUS.ProjectedEnergy>
        Parameters:
        o - the Object to be compared.
        Returns:
        a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.