25 #ifndef WDATASETHIERARCHICALCLUSTERING_H_
26 #define WDATASETHIERARCHICALCLUSTERING_H_
33 #include <boost/shared_ptr.hpp>
35 #include "../common/exceptions/WInvalidID.h"
36 #include "../common/WTransferable.h"
37 #include "datastructures/WFiberCluster.h"
38 #include "datastructures/WTreeNode.h"
51 typedef boost::shared_ptr< WDataSetHierarchicalClustering >
SPtr;
56 typedef boost::shared_ptr< const WDataSetHierarchicalClustering >
ConstSPtr;
81 virtual const std::string
getName()
const;
138 #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.