Package | Description |
---|---|
gov.sandia.cognition.learning.algorithm.clustering |
Provides clustering algorithms.
|
gov.sandia.cognition.learning.algorithm.clustering.hierarchy |
Provides a hierarchy for clusters.
|
Modifier and Type | Class and Description |
---|---|
static class |
AgglomerativeClusterer.HierarchyNode<DataType,ClusterType extends Cluster<DataType>>
Holds the hierarchy information for the agglomerative clusterer.
|
Modifier and Type | Method and Description |
---|---|
ClusterHierarchyNode<DataType,ClusterType> |
AgglomerativeClusterer.clusterHierarchically(java.util.Collection<? extends DataType> data) |
ClusterHierarchyNode<DataType,ClusterType> |
PartitionalClusterer.clusterHierarchically(java.util.Collection<? extends DataType> data) |
Modifier and Type | Class and Description |
---|---|
class |
AbstractClusterHierarchyNode<DataType,ClusterType extends Cluster<DataType>>
An abstract implementation of the
ClusterHierarchyNode class. |
class |
BinaryClusterHierarchyNode<DataType,ClusterType extends Cluster<DataType>>
Implements a binary cluster hierarchy node.
|
class |
DefaultClusterHierarchyNode<DataType,ClusterType extends Cluster<DataType>>
A default implementation of the cluster hierarchy node.
|
Modifier and Type | Field and Description |
---|---|
protected ClusterHierarchyNode<DataType,ClusterType> |
BinaryClusterHierarchyNode.firstChild
The first child node.
|
protected ClusterHierarchyNode<DataType,ClusterType> |
BinaryClusterHierarchyNode.secondChild
The second child node.
|
Modifier and Type | Field and Description |
---|---|
protected java.util.List<ClusterHierarchyNode<DataType,ClusterType>> |
DefaultClusterHierarchyNode.children
The list of children.
|
Modifier and Type | Method and Description |
---|---|
ClusterHierarchyNode<DataType,ClusterType> |
BatchHierarchicalClusterer.clusterHierarchically(java.util.Collection<? extends DataType> elements)
Performs hierarchical clustering on the given elements.
|
ClusterHierarchyNode<DataType,ClusterType> |
BinaryClusterHierarchyNode.getFirstChild()
Gets the first child node, if there is one.
|
ClusterHierarchyNode<DataType,ClusterType> |
BinaryClusterHierarchyNode.getSecondChild()
Gets the second child node, if there is one.
|
Modifier and Type | Method and Description |
---|---|
java.util.List<ClusterHierarchyNode<DataType,ClusterType>> |
BinaryClusterHierarchyNode.getChildren() |
java.util.List<ClusterHierarchyNode<DataType,ClusterType>> |
ClusterHierarchyNode.getChildren()
Gets the children of this node.
|
java.util.List<ClusterHierarchyNode<DataType,ClusterType>> |
DefaultClusterHierarchyNode.getChildren() |
Modifier and Type | Method and Description |
---|---|
void |
DefaultClusterHierarchyNode.setChildren(ClusterHierarchyNode<DataType,ClusterType> firstChild,
ClusterHierarchyNode<DataType,ClusterType> secondChild)
Sets the children of this node.
|
void |
DefaultClusterHierarchyNode.setChildren(ClusterHierarchyNode<DataType,ClusterType> firstChild,
ClusterHierarchyNode<DataType,ClusterType> secondChild)
Sets the children of this node.
|
void |
BinaryClusterHierarchyNode.setFirstChild(ClusterHierarchyNode<DataType,ClusterType> firstChild)
Sets the first child node.
|
void |
BinaryClusterHierarchyNode.setSecondChild(ClusterHierarchyNode<DataType,ClusterType> secondChild)
Sets the second child node.
|
Modifier and Type | Method and Description |
---|---|
void |
DefaultClusterHierarchyNode.setChildren(java.util.List<ClusterHierarchyNode<DataType,ClusterType>> children)
Sets the children of this node.
|
Constructor and Description |
---|
BinaryClusterHierarchyNode(ClusterType cluster,
ClusterHierarchyNode<DataType,ClusterType> firstChild,
ClusterHierarchyNode<DataType,ClusterType> secondChild)
Creates a new
BinaryClusterHierarchyNode . |
BinaryClusterHierarchyNode(ClusterType cluster,
ClusterHierarchyNode<DataType,ClusterType> firstChild,
ClusterHierarchyNode<DataType,ClusterType> secondChild)
Creates a new
BinaryClusterHierarchyNode . |
DefaultClusterHierarchyNode(ClusterType cluster,
ClusterHierarchyNode<DataType,ClusterType> firstChild,
ClusterHierarchyNode<DataType,ClusterType> secondChild)
Creates a new
DefaultClusterHierarchyNode . |
DefaultClusterHierarchyNode(ClusterType cluster,
ClusterHierarchyNode<DataType,ClusterType> firstChild,
ClusterHierarchyNode<DataType,ClusterType> secondChild)
Creates a new
DefaultClusterHierarchyNode . |
Constructor and Description |
---|
DefaultClusterHierarchyNode(ClusterType cluster,
java.util.List<ClusterHierarchyNode<DataType,ClusterType>> children)
Creates a new
DefaultClusterHierarchyNode . |