#include <src/PRGraph/Visitors/Rankers.h>
Definition at line 18 of file Rankers.h.
◆ reset()
void concurrency::RankerByCummulativeOutDegree::reset |
( |
| ) |
|
|
inlineoverridevirtual |
◆ runThroughAdjacents()
Definition at line 62 of file Rankers.cpp.
64 typename boost::graph_traits<precedence::PrecTrace>::adjacency_iterator itVB;
65 typename boost::graph_traits<precedence::PrecTrace>::adjacency_iterator itVE;
67 for ( boost::tie( itVB, itVE ) = adjacent_vertices( vertex,
graph ); itVB != itVE; ++itVB ) {
void runThroughAdjacents(boost::graph_traits< precedence::PrecTrace >::vertex_descriptor, precedence::PrecTrace)
◆ 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::RankerByCummulativeOutDegree::visit |
( |
AlgorithmNode & |
node | ) |
|
|
overridevirtual |
Reimplemented from concurrency::IGraphVisitor.
Definition at line 25 of file Rankers.cpp.
28 myfile.
open(
"InputExecutionPlan.graphml", std::ios::in );
35 boost::dynamic_properties dp;
36 dp.property(
"name",
get( &AlgoTraceProps::m_name, execPlan ) );
37 dp.property(
"index",
get( &AlgoTraceProps::m_index, execPlan ) );
38 dp.property(
"dataRank",
get( &AlgoTraceProps::m_rank, execPlan ) );
39 dp.property(
"runtime",
get( &AlgoTraceProps::m_runtime, execPlan ) );
41 boost::read_graphml( myfile, execPlan, dp );
43 typedef boost::graph_traits<precedence::PrecTrace>::vertex_iterator itV;
46 for ( vp = boost::vertices( execPlan ); vp.first != vp.second; ++vp.first ) {
48 auto index =
get( &AlgoTraceProps::m_name, execPlan );
49 if ( index[v] == node.getNodeName() ) {
boost::graph_traits< PrecTrace >::vertex_descriptor AlgoTraceVertex
auto get(const Handle &handle, const Algo &, const EventContext &) -> decltype(details::deref(handle.get()))
void runThroughAdjacents(boost::graph_traits< precedence::PrecTrace >::vertex_descriptor, precedence::PrecTrace)
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, AlgoTraceProps > PrecTrace
◆ m_nodesSucceeded
int concurrency::RankerByCummulativeOutDegree::m_nodesSucceeded {0} |
The documentation for this class was generated from the following files: