#include <src/PRGraphVisitors.h>
Definition at line 171 of file PRGraphVisitors.h.
concurrency::RankerByEccentricity::RankerByEccentricity |
( |
| ) |
|
|
inline |
concurrency::RankerByEccentricity::~RankerByEccentricity |
( |
| ) |
|
|
inlineoverride |
void concurrency::RankerByEccentricity::reset |
( |
| ) |
|
|
inlineoverridevirtual |
bool concurrency::RankerByEccentricity::visit |
( |
DecisionNode & |
| ) |
|
|
inlineoverridevirtual |
bool concurrency::RankerByEccentricity::visit |
( |
AlgorithmNode & |
node | ) |
|
|
overridevirtual |
Implements concurrency::IGraphVisitor.
Definition at line 337 of file PRGraphVisitors.cpp.
340 myfile.
open(
"Eccentricity.graphml", std::ios::in);
344 boost::dynamic_properties dp;
348 boost::read_graphml(myfile, execPlan, dp);
350 typedef boost::graph_traits<boost::ExecPlan>::vertex_iterator itV;
352 typedef boost::graph_traits<boost::ExecPlan>::vertex_descriptor
AlgoVertex;
354 for (vp = boost::vertices(execPlan); vp.first != vp.second; ++vp.first) {
355 AlgoVertex v = *vp.first;
357 if (index[v] == node.getNodeName()) {
359 float rank = index_eccentricity[v];
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, AlgoNodeStruct > ExecPlan
graph_traits< ExecPlan >::vertex_descriptor AlgoVertex
bool concurrency::RankerByEccentricity::visitEnter |
( |
DecisionNode & |
| ) |
const |
|
inlineoverridevirtual |
bool concurrency::RankerByEccentricity::visitEnter |
( |
AlgorithmNode & |
| ) |
const |
|
inlineoverridevirtual |
bool concurrency::RankerByEccentricity::visitLeave |
( |
DecisionNode & |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: