25 #ifndef WDATASETHIERARCHICALCLUSTERING_H_
26 #define WDATASETHIERARCHICALCLUSTERING_H_
34 #include <boost/shared_ptr.hpp>
37 #include "../common/exceptions/WInvalidID.h"
38 #include "../common/WTransferable.h"
39 #include "datastructures/WFiberCluster.h"
40 #include "datastructures/WTreeNode.h"
53 typedef boost::shared_ptr< WDataSetHierarchicalClustering >
SPtr;
58 typedef boost::shared_ptr< const WDataSetHierarchicalClustering >
ConstSPtr;
83 virtual const std::string
getName()
const;
140 #endif // WDATASETHIERARCHICALCLUSTERING_H
virtual const std::string getName() const
Gets the name of this prototype.
std::map< size_t, WFiberCluster::SPtr > getClusterMap()
Returns the whole cluster map.
Base class for all data set types.
virtual const std::string getDescription() const
Gets the description for this prototype.
std::map< size_t, WFiberCluster::SPtr > m_clusters
Stores the cluster map.
virtual ~WDataSetHierarchicalClustering()
Destructor.
static boost::shared_ptr< WPrototyped > getPrototype()
Returns a prototype instantiated with the true type of the deriving class.
WTreeNode::SPtr getRootNode()
Returns the root cluster.
boost::shared_ptr< WDataSetHierarchicalClustering > SPtr
Pointer to dataset.
std::vector< WTreeNode::SPtr > getClustersDownToLevel(WTreeNode::SPtr node, size_t level)
Returns all clusters down (root node has highest level) to a certain level in the hierarchy...
WDataSetHierarchicalClustering()
Constructs a new set of tracts.
Represents a hierarchy of clusters.
boost::shared_ptr< const WDataSetHierarchicalClustering > ConstSPtr
Pointer to const dataset.
static boost::shared_ptr< WPrototyped > m_prototype
The prototype as singleton.
WTreeNode::SPtr m_rootNode
Pointer to the root cluster.
boost::shared_ptr< WTreeNode > SPtr
Shared pointer abbreviation.