gov.sandia.cognition.learning.algorithm.clustering.hierarchy
Interface ClusterHierarchyNode<DataType,ClusterType extends Cluster<DataType>>

Type Parameters:
DataType - The type of the data in the cluster.
ClusterType - The type of cluster contained in the hierarchy node.
All Superinterfaces:
Cloneable, CloneableSerializable, Cluster<DataType>, Serializable
All Known Implementing Classes:
AbstractClusterHierarchyNode, AgglomerativeClusterer.HierarchyNode, BinaryClusterHierarchyNode, DefaultClusterHierarchyNode

public interface ClusterHierarchyNode<DataType,ClusterType extends Cluster<DataType>>
extends Cluster<DataType>, Serializable

Defines a node in a hierarchy of clusters.

Since:
2.1
Author:
Justin Basilico

Method Summary
 List<ClusterHierarchyNode<DataType,ClusterType>> getChildren()
          Gets the children of this node.
 ClusterType getCluster()
          Gets the cluster associated with the node.
 boolean hasChildren()
          True if this node has any children.
 
Methods inherited from interface gov.sandia.cognition.learning.algorithm.clustering.cluster.Cluster
getMembers
 
Methods inherited from interface gov.sandia.cognition.util.CloneableSerializable
clone
 

Method Detail

getCluster

ClusterType getCluster()
Gets the cluster associated with the node.

Returns:
The cluster associated with the node.

hasChildren

boolean hasChildren()
True if this node has any children.

Returns:
True if this node has any children.

getChildren

List<ClusterHierarchyNode<DataType,ClusterType>> getChildren()
Gets the children of this node. May be null if there are no children.

Returns:
The children of this node.