Class ClusterNode
- java.lang.Object
-
- com.actelion.research.chem.descriptor.flexophore.ClusterNode
-
- All Implemented Interfaces:
java.lang.Comparable<ClusterNode>
public class ClusterNode extends java.lang.Object implements java.lang.Comparable<ClusterNode>
-
-
Constructor Summary
Constructors Constructor Description ClusterNode(int indexCenter)
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description voidadd(int index)intcompareTo(ClusterNode cl)booleanequals(java.lang.Object obj)java.util.List<java.lang.Integer>getClusterMember()intgetIndexCenter()intgetRMSD()static intgetRMSD(ClusterNode cluster, DistHist mdh)booleanisCluster()voidsetRMSD(int rmsd)Sum of squared distances of the center to the other cluster members
-
-
-
Method Detail
-
add
public void add(int index)
-
compareTo
public int compareTo(ClusterNode cl)
- Specified by:
compareToin interfacejava.lang.Comparable<ClusterNode>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equalsin classjava.lang.Object
-
getIndexCenter
public int getIndexCenter()
-
getRMSD
public int getRMSD()
-
setRMSD
public void setRMSD(int rmsd)
Sum of squared distances of the center to the other cluster members- Parameters:
rmsd-
-
getRMSD
public static int getRMSD(ClusterNode cluster, DistHist mdh)
-
getClusterMember
public java.util.List<java.lang.Integer> getClusterMember()
-
isCluster
public boolean isCluster()
-
-