#include </builds/gaudi/Gaudi/GaudiHive/src/PRGraph/Visitors/Rankers.h>
Definition at line 41 of file Rankers.h.
◆ visit() [1/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [2/5]
Reimplemented from concurrency::IGraphVisitor.
Definition at line 84 of file Rankers.cpp.
87 myfile.
open(
"InputExecutionPlan.graphml", std::ios::in );
93 boost::dynamic_properties dp;
94 dp.property(
"name",
get( &AlgoTraceProps::m_name, execPlan ) );
95 dp.property(
"index",
get( &AlgoTraceProps::m_index, execPlan ) );
96 dp.property(
"dataRank",
get( &AlgoTraceProps::m_rank, execPlan ) );
97 dp.property(
"runtime",
get( &AlgoTraceProps::m_runtime, execPlan ) );
99 boost::read_graphml( myfile, execPlan, dp );
101 typedef boost::graph_traits<precedence::PrecTrace>::vertex_iterator itV;
104 for ( vp = boost::vertices( execPlan ); vp.first != vp.second; ++vp.first ) {
106 auto index =
get( &AlgoTraceProps::m_name, execPlan );
107 if ( index[
v] == node.name() ) {
108 auto index_runtime =
get( &AlgoTraceProps::m_runtime, execPlan );
109 float rank = index_runtime[
v];
110 node.setRank( rank );
◆ visit() [3/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [4/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
◆ visit() [5/5]
virtual bool concurrency::IGraphVisitor::visit |
|
inline |
The documentation for this class was generated from the following files: