#include <src/PRGraphVisitors.h>
Definition at line 102 of file PRGraphVisitors.h.
| concurrency::RankerByEccentricity::RankerByEccentricity |
( |
| ) |
|
|
inline |
| bool concurrency::RankerByEccentricity::visit |
( |
AlgorithmNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 278 of file PRGraphVisitors.cpp.
281 myfile.
open(
"Eccentricity.graphml", std::ios::in);
285 boost::dynamic_properties dp;
289 boost::read_graphml(myfile, execPlan, dp);
291 typedef boost::graph_traits<boost::ExecPlan>::vertex_iterator itV;
293 typedef boost::graph_traits<boost::ExecPlan>::vertex_descriptor
AlgoVertex;
295 for (vp = boost::vertices(execPlan); vp.first != vp.second; ++vp.first) {
296 AlgoVertex v = *vp.first;
298 if (index[v] == node.getNodeName()) {
300 float rank = index_eccentricity[v];
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, AlgoNodeStruct > ExecPlan
graph_traits< ExecPlan >::vertex_descriptor AlgoVertex
The documentation for this class was generated from the following files: