#include <src/PRGraphVisitors.h>
Definition at line 89 of file PRGraphVisitors.h.
| concurrency::RankerByTiming::RankerByTiming |
( |
| ) |
|
|
inline |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 245 of file PRGraphVisitors.cpp.
248 myfile.
open(
"InputExecutionPlan.graphml", std::ios::in);
252 boost::dynamic_properties dp;
258 boost::read_graphml(myfile, execPlan, dp);
260 typedef boost::graph_traits<boost::ExecPlan>::vertex_iterator itV;
262 typedef boost::graph_traits<boost::ExecPlan>::vertex_descriptor
AlgoVertex;
264 for (vp = boost::vertices(execPlan); vp.first != vp.second; ++vp.first) {
265 AlgoVertex v = *vp.first;
267 if (index[v] == node.getNodeName()) {
269 float rank = index_runtime[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: