#include <src/PRGraphVisitors.h>
Definition at line 117 of file PRGraphVisitors.h.
concurrency::RankerByCummulativeOutDegree::RankerByCummulativeOutDegree |
( |
| ) |
|
|
inline |
concurrency::RankerByCummulativeOutDegree::~RankerByCummulativeOutDegree |
( |
| ) |
|
|
inlineoverride |
void concurrency::RankerByCummulativeOutDegree::reset |
( |
| ) |
|
|
inlineoverridevirtual |
void concurrency::RankerByCummulativeOutDegree::runThroughAdjacents |
( |
boost::graph_traits< boost::ExecPlan >::vertex_descriptor |
vertex, |
|
|
boost::ExecPlan |
graph |
|
) |
| |
Definition at line 291 of file PRGraphVisitors.cpp.
293 typename boost::graph_traits<boost::ExecPlan>::adjacency_iterator itVB;
294 typename boost::graph_traits<boost::ExecPlan>::adjacency_iterator itVE;
296 for (boost::tie(itVB, itVE) = adjacent_vertices(vertex,
graph); itVB != itVE; ++itVB) {
void runThroughAdjacents(boost::graph_traits< boost::ExecPlan >::vertex_descriptor vertex, boost::ExecPlan graph)
bool concurrency::RankerByCummulativeOutDegree::visit |
( |
DecisionNode & |
| ) |
|
|
inlineoverridevirtual |
bool concurrency::RankerByCummulativeOutDegree::visit |
( |
AlgorithmNode & |
node | ) |
|
|
overridevirtual |
Implements concurrency::IGraphVisitor.
Definition at line 256 of file PRGraphVisitors.cpp.
259 myfile.
open(
"InputExecutionPlan.graphml", std::ios::in);
263 boost::dynamic_properties dp;
269 boost::read_graphml(myfile, execPlan, dp);
271 typedef boost::graph_traits<boost::ExecPlan>::vertex_iterator itV;
273 typedef boost::graph_traits<boost::ExecPlan>::vertex_descriptor
AlgoVertex;
275 for (vp = boost::vertices(execPlan); vp.first != vp.second; ++vp.first) {
276 AlgoVertex v = *vp.first;
278 if (index[v] == node.getNodeName()) {
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, AlgoNodeStruct > ExecPlan
graph_traits< ExecPlan >::vertex_descriptor AlgoVertex
void runThroughAdjacents(boost::graph_traits< boost::ExecPlan >::vertex_descriptor vertex, boost::ExecPlan graph)
bool concurrency::RankerByCummulativeOutDegree::visitEnter |
( |
DecisionNode & |
| ) |
const |
|
inlineoverridevirtual |
bool concurrency::RankerByCummulativeOutDegree::visitEnter |
( |
AlgorithmNode & |
| ) |
const |
|
inlineoverridevirtual |
bool concurrency::RankerByCummulativeOutDegree::visitLeave |
( |
DecisionNode & |
| ) |
const |
|
inlineoverridevirtual |
The documentation for this class was generated from the following files: