Class ORCLUS.ProjectedEnergy

  • All Implemented Interfaces:
    Enclosing class:

    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

      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)
        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>
        o - the Object to be compared.
        a negative integer, zero, or a positive integer as this object is less than, equal to, or greater than the specified object.