Commit 851465d9 authored by Mathias Goldau's avatar Mathias Goldau
Browse files

[ADD] Two getter for parents and heights (read-only) arrays of the dendrogram for conversion.

parent ea702714
......@@ -161,3 +161,13 @@ std::string WDendrogram::toString() const
return result.str();
}
const std::vector< size_t >& WDendrogram::getParents() const
{
return m_parents;
}
const std::vector< double >& WDendrogram::getHeights() const
{
return m_heights;
}
......@@ -116,6 +116,10 @@ public:
*/
std::string toString() const;
const std::vector< size_t >& getParents() const;
const std::vector< double >& getHeights() const;
protected:
static boost::shared_ptr< WPrototyped > m_prototype; //!< The prototype as singleton.
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment