Commit 346b397f authored by Alexander Wiebel's avatar Alexander Wiebel
Browse files

[STYLE] missing include and too long line fixed

parent cb0ff4bc
...@@ -86,7 +86,10 @@ std::string WDendrogram::toTXTString() const ...@@ -86,7 +86,10 @@ std::string WDendrogram::toTXTString() const
level[ i ] = std::max( level[ left ], level[ right ] ) + 1; level[ i ] = std::max( level[ left ], level[ right ] ) + 1;
preds[ m_parents[ i ] ].insert( i ); preds[ m_parents[ i ] ].insert( i );
std::set< size_t > join; std::set< size_t > join;
std::set_union( childsOfInnerNodes[ m_parents[ i ] ].begin(), childsOfInnerNodes[ m_parents[ i ] ].end(), childsOfInnerNodes[ i ].begin(), childsOfInnerNodes[ i ].end(), std::set_union( childsOfInnerNodes[ m_parents[ i ] ].begin(),
childsOfInnerNodes[ m_parents[ i ] ].end(),
childsOfInnerNodes[ i ].begin(),
childsOfInnerNodes[ i ].end(),
std::inserter( join, join.begin() ) ); std::inserter( join, join.begin() ) );
childsOfInnerNodes[ m_parents[ i ] ] = join; childsOfInnerNodes[ m_parents[ i ] ] = join;
ss << "(" << level[i] << ", ("; ss << "(" << level[i] << ", (";
......
...@@ -26,6 +26,7 @@ ...@@ -26,6 +26,7 @@
#define WDENDROGRAM_H #define WDENDROGRAM_H
#include <vector> #include <vector>
#include <string>
#include <boost/shared_ptr.hpp> #include <boost/shared_ptr.hpp>
......
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