~ubuntu-branches/ubuntu/raring/openwalnut/raring

« back to all changes in this revision

Viewing changes to src/core/common/WHierarchicalTree.cpp

  • Committer: Package Import Robot
  • Author(s): Sebastian Eichelbaum
  • Date: 2012-12-12 11:26:32 UTC
  • mfrom: (3.1.1 sid)
  • Revision ID: package-import@ubuntu.com-20121212112632-xhiuwkxuz5h0idkh
Tags: 1.3.1+hg5849-1
* Minor changes compared to 1.3.0 but included several bug fixes.
* See http://www.openwalnut.org/versions/4

Show diffs side-by-side

added added

removed removed

Lines of Context:
22
22
//
23
23
//---------------------------------------------------------------------------
24
24
 
 
25
#include <list>
 
26
#include <vector>
 
27
 
25
28
#include "WHierarchicalTree.h"
26
29
 
27
30
WHierarchicalTree::WHierarchicalTree() :
126
129
        level = m_maxLevel -1;
127
130
    }
128
131
 
129
 
    std::vector<size_t>returnVector;
 
132
    std::vector< size_t > returnVector;
130
133
 
131
 
    std::list<size_t>worklist;
 
134
    std::list< size_t > worklist;
132
135
    worklist.push_back( m_clusterCount - 1 );
133
136
 
134
137
    for( size_t i = 0; i < level; ++i )