Commit 9b4c18c7 authored by Robert Ricci's avatar Robert Ricci

Add some stuff to the summary:

The type each pnode is being used as.

The remaining capacity for all 'local' features.
parent 07bc135c
......@@ -134,7 +134,8 @@ void print_solution_summary()
// Print name, number of vnodes, and some bandwidth numbers
cout << pnode->name << " " << pnode->total_load << " vnodes, " <<
pnode->nontrivial_bw_used << " nontrivial BW, " <<
pnode->trivial_bw_used << " trivial BW" << endl;
pnode->trivial_bw_used << " trivial BW, type=" << pnode->current_type
<< endl;
// Go through all links on this pnode
poedge_iterator pedge_it,end_pedge_it;
......@@ -158,6 +159,16 @@ void print_solution_summary()
}
cout << " " << plink->bw_used << " " << plink->name << endl;
}
// Print out used local additive features
tb_pnode::features_map::iterator feature_it;
for (feature_it = pnode->features.begin();
feature_it != pnode->features.end();++feature_it) {
if ((feature_it->first[0] == '?') && (feature_it->first[1] == '+')) {
double remaining = feature_it->second;
cerr << " " << feature_it->first << ":" << remaining << endl;
}
}
}
}
cout << "Total physical nodes used: " << pnodes_used << endl;
......
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