#include <src/PRGraph/Visitors/Rankers.h>
Definition at line 39 of file Rankers.h.
◆ visit() [1/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [2/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [3/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [4/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [5/5]
bool concurrency::RankerByEccentricity::visit |
( |
AlgorithmNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 108 of file Rankers.cpp.
111 myfile.
open(
"Eccentricity.graphml", std::ios::in );
115 boost::dynamic_properties dp;
121 boost::read_graphml( myfile, execPlan, dp );
123 typedef boost::graph_traits<precedence::PrecTrace>::vertex_iterator itV;
126 for ( vp = boost::vertices( execPlan ); vp.first != vp.second; ++vp.first ) {
129 if ( index[v] == node.getNodeName() ) {
131 float rank = index_eccentricity[v];
132 node.setRank( rank );
boost::graph_traits< PrecTrace >::vertex_descriptor AlgoTraceVertex
auto get(const Handle &handle, const Algo &, const EventContext &) -> decltype(details::deref(handle.get()))
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, AlgoTraceProps > PrecTrace
The documentation for this class was generated from the following files: