Skip to content

Commit

Permalink
refs #6: Fix graph analysis to work again.
Browse files Browse the repository at this point in the history
  • Loading branch information
achimnol committed Sep 13, 2015
1 parent 05a270a commit 78bd3f0
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 13 deletions.
4 changes: 2 additions & 2 deletions include/nba/framework/graphanalysis.hh
Original file line number Diff line number Diff line change
Expand Up @@ -48,8 +48,8 @@ private:
std::vector<L::Bitmap> dbReadBitmap;
std::vector<L::Bitmap> dbWriteBitmap;
public:
GraphMetaData();
virtual ~GraphMetaData();
GraphMetaData() : linear_group(-1) { }
virtual ~GraphMetaData() { }

void link(GraphMetaData* child);
int get_linear_group();
Expand Down
11 changes: 0 additions & 11 deletions src/lib/graphanalysis.cc
Original file line number Diff line number Diff line change
Expand Up @@ -25,16 +25,6 @@ const vector<vector<GraphMetaData*> > &GraphAnalyzer::get_linear_groups()
return linear_group_set;
}

GraphMetaData::GraphMetaData()
{
this->linear_group = -1;
}

GraphMetaData::~GraphMetaData()
{

}

void GraphMetaData::link(GraphMetaData* child)
{
this->outEdge.insert(child);
Expand All @@ -52,7 +42,6 @@ void GraphAnalyzer::analyze(ParseInfo* info)
int linear_group_id = 0;
int total_modules = click_num_module(info);
int total_roots = click_num_root(info);
vector<vector<GraphMetaData*> > linear_group_set;

/* This loop groups elements into a set of disjoint linear paths. */
for (int root_id = 0; root_id < total_roots; root_id++) {
Expand Down

0 comments on commit 78bd3f0

Please sign in to comment.