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 void
add(int index)
int
compareTo(ClusterNode cl)
boolean
equals(java.lang.Object obj)
java.util.List<java.lang.Integer>
getClusterMember()
int
getIndexCenter()
int
getRMSD()
static int
getRMSD(ClusterNode cluster, DistHist mdh)
boolean
isCluster()
void
setRMSD(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:
compareTo
in interfacejava.lang.Comparable<ClusterNode>
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in 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()
-
-