#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 87 of file Rankers.cpp.
90 myfile.
open(
"InputExecutionPlan.graphml", std::ios::in );
96 boost::dynamic_properties dp;
97 dp.property(
"name",
get( &AlgoTraceProps::m_name, execPlan ) );
98 dp.property(
"index",
get( &AlgoTraceProps::m_index, execPlan ) );
99 dp.property(
"dataRank",
get( &AlgoTraceProps::m_rank, execPlan ) );
100 dp.property(
"runtime",
get( &AlgoTraceProps::m_runtime, execPlan ) );
102 boost::read_graphml( myfile, execPlan, dp );
104 typedef boost::graph_traits<precedence::PrecTrace>::vertex_iterator itV;
107 for ( vp = boost::vertices( execPlan ); vp.first != vp.second; ++vp.first ) {
109 auto index =
get( &AlgoTraceProps::m_name, execPlan );
110 if (
index[
v] == node.name() ) {
111 auto index_runtime =
get( &AlgoTraceProps::m_runtime, execPlan );
112 float rank = index_runtime[
v];
113 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:
size_t index(const Gaudi::ParticleProperty *property, const Gaudi::Interfaces::IParticlePropertySvc *service)
helper utility for mapping of Gaudi::ParticleProperty object into non-negative integral sequential id...