The Gaudi Framework  v30r2 (9eca68f7)
concurrency::PrecedenceRulesGraph Class Reference

#include <src/PrecedenceRulesGraph.h>

Inheritance diagram for concurrency::PrecedenceRulesGraph:
Collaboration diagram for concurrency::PrecedenceRulesGraph:

Public Member Functions

 PrecedenceRulesGraph (const std::string &name, SmartIF< ISvcLocator > svc)
 Constructor. More...
 
 ~PrecedenceRulesGraph () override
 Destructor. More...
 
StatusCode initialize ()
 Initialize graph. More...
 
void accept (IGraphVisitor &visitor) const
 An entry point to visit all graph nodes. More...
 
StatusCode addDataNode (const DataObjID &dataPath)
 Add DataNode that represents DataObject. More...
 
DataNodegetDataNode (const DataObjID &dataPath) const
 Get DataNode by DataObject path using graph index. More...
 
void registerIODataObjects (const Algorithm *algo)
 Register algorithm in the Data Dependency index. More...
 
StatusCode buildDataDependenciesRealm ()
 Build data dependency realm WITH data object nodes participating. More...
 
void addHeadNode (const std::string &headName, concurrency::Concurrent, concurrency::PromptDecision, concurrency::ModeOr, concurrency::AllPass, concurrency::Inverted)
 Add a node, which has no parents. More...
 
DecisionNodegetHeadNode () const
 Get head node. More...
 
StatusCode addAlgorithmNode (Algorithm *daughterAlgo, const std::string &parentName, bool inverted, bool allPass)
 Add algorithm node. More...
 
AlgorithmNodegetAlgorithmNode (const std::string &algoName) const
 Get the AlgorithmNode from by algorithm name using graph index. More...
 
StatusCode addDecisionHubNode (Algorithm *daughterAlgo, const std::string &parentName, concurrency::Concurrent, concurrency::PromptDecision, concurrency::ModeOr, concurrency::AllPass, concurrency::Inverted)
 Add a node, which aggregates decisions of direct daughter nodes. More...
 
unsigned int getControlFlowNodeCounter () const
 Get total number of control flow graph nodes. More...
 
void rankAlgorithms (IGraphVisitor &ranker) const
 Rank Algorithm nodes by the number of data outputs. More...
 
const std::stringname () const override
 Retrieve name of the service. More...
 
SmartIF< ISvcLocator > & serviceLocator () const override
 Retrieve pointer to service locator. More...
 
const std::chrono::system_clock::time_point getInitTime () const
 
void printState (std::stringstream &output, AlgsExecutionStates &states, const std::vector< int > &node_decisions, const unsigned int &recursionLevel) const
 Print a string representing the control flow state. More...
 
void enableAnalysis ()
 BGL-based facilities. More...
 
PRVertexDesc node (const std::string &) const
 
std::string dumpDataFlow () const
 Print out all data origins and destinations, as reflected in the EF graph. More...
 
std::string dumpControlFlow () const
 Print out control flow of Algorithms and Sequences. More...
 
void dumpPrecRules (const boost::filesystem::path &, const EventSlot &slot)
 dump to file the precedence rules More...
 
void dumpPrecTrace (const boost::filesystem::path &)
 dump to file the precedence trace More...
 
void addEdgeToPrecTrace (const AlgorithmNode *u, const AlgorithmNode *v)
 set cause-effect connection between two algorithms in the precedence trace More...
 
void dumpControlFlow (std::ostringstream &, ControlFlowNode *, const int &) const
 
- Public Member Functions inherited from CommonMessaging< IPrecedenceRulesGraph >
MSG::Level msgLevel () const
 get the cached level (originally extracted from the embedded MsgStream) More...
 
bool msgLevel (MSG::Level lvl) const
 get the output level from the embedded MsgStream More...
 
MSG::Level outputLevel () const
 Backward compatibility function for getting the output level. More...
 
- Public Member Functions inherited from CommonMessagingBase
virtual ~CommonMessagingBase ()=default
 Virtual destructor. More...
 
const SmartIF< IMessageSvc > & msgSvc () const
 The standard message service. More...
 
MsgStreammsgStream () const
 Return an uninitialized MsgStream. More...
 
MsgStreammsgStream (const MSG::Level level) const
 Predefined configurable message stream for the efficient printouts. More...
 
MsgStreamalways () const
 shortcut for the method msgStream(MSG::ALWAYS) More...
 
MsgStreamfatal () const
 shortcut for the method msgStream(MSG::FATAL) More...
 
MsgStreamerr () const
 shortcut for the method msgStream(MSG::ERROR) More...
 
MsgStreamerror () const
 shortcut for the method msgStream(MSG::ERROR) More...
 
MsgStreamwarning () const
 shortcut for the method msgStream(MSG::WARNING) More...
 
MsgStreaminfo () const
 shortcut for the method msgStream(MSG::INFO) More...
 
MsgStreamdebug () const
 shortcut for the method msgStream(MSG::DEBUG) More...
 
MsgStreamverbose () const
 shortcut for the method msgStream(MSG::VERBOSE) More...
 
MsgStreammsg () const
 shortcut for the method msgStream(MSG::INFO) More...
 

Private Attributes

DecisionNodem_headNode
 the head node of the control flow graph More...
 
AlgoNodesMap m_algoNameToAlgoNodeMap
 Index: map of algorithm's name to AlgorithmNode. More...
 
DecisionHubsMap m_decisionNameToDecisionHubMap
 Index: map of decision's name to DecisionHub. More...
 
DataNodesMap m_dataPathToDataNodeMap
 Index: map of data path to DataNode. More...
 
AlgoInputsMap m_algoNameToAlgoInputsMap
 Indexes: maps of algorithm's name to algorithm's inputs/outputs. More...
 
AlgoOutputsMap m_algoNameToAlgoOutputsMap
 
unsigned int m_nodeCounter
 Total number of nodes in the graph. More...
 
unsigned int m_algoCounter
 Total number of algorithm nodes in the graph. More...
 
SmartIF< ISvcLocatorm_svcLocator
 Service locator (needed to access the MessageSvc) More...
 
const std::string m_name
 
const std::chrono::system_clock::time_point m_initTime
 
precedence::PrecTrace m_precTrace
 facilities for algorithm precedence tracing More...
 
std::map< std::string, precedence::AlgoTraceVertexm_prec_trace_map
 
bool m_enableAnalysis {false}
 
precedence::PRGraph m_PRGraph
 BGL-based graph of precedence rules. More...
 
bool m_conditionsRealmEnabled {false}
 Enable conditions realm of precedence rules. More...
 

Additional Inherited Members

- Public Types inherited from CommonMessaging< IPrecedenceRulesGraph >
using base_class = CommonMessaging
 
- Protected Member Functions inherited from CommonMessaging< IPrecedenceRulesGraph >
MSG::Level setUpMessaging () const
 Set up local caches. More...
 
MSG::Level resetMessaging ()
 Reinitialize internal states. More...
 
void updateMsgStreamOutputLevel (int level)
 Update the output level of the cached MsgStream. More...
 

Detailed Description

Definition at line 694 of file PrecedenceRulesGraph.h.

Constructor & Destructor Documentation

concurrency::PrecedenceRulesGraph::PrecedenceRulesGraph ( const std::string name,
SmartIF< ISvcLocator svc 
)
inline

Constructor.

Definition at line 698 of file PrecedenceRulesGraph.h.

699  : m_headNode( 0 )
700  , m_nodeCounter( 0 )
701  , m_algoCounter( 0 )
702  , m_svcLocator( svc )
703  , m_name( name )
705  {
706  // make sure that CommonMessaging is initialized
707  setUpMessaging();
708  }
const std::chrono::system_clock::time_point m_initTime
unsigned int m_algoCounter
Total number of algorithm nodes in the graph.
DecisionNode * m_headNode
the head node of the control flow graph
MSG::Level setUpMessaging() const
Set up local caches.
unsigned int m_nodeCounter
Total number of nodes in the graph.
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)
concurrency::PrecedenceRulesGraph::~PrecedenceRulesGraph ( )
inlineoverride

Destructor.

Definition at line 710 of file PrecedenceRulesGraph.h.

711  {
712  if ( m_headNode != 0 ) delete m_headNode;
713  }
DecisionNode * m_headNode
the head node of the control flow graph

Member Function Documentation

void concurrency::PrecedenceRulesGraph::accept ( IGraphVisitor visitor) const

An entry point to visit all graph nodes.

Definition at line 431 of file PrecedenceRulesGraph.cpp.

432  {
433  // iterate through Algorithm nodes
434  for ( auto pr : m_algoNameToAlgoNodeMap ) pr.second->accept( visitor );
435 
436  // iterate through DecisionHub nodes
437  for ( auto pr : m_decisionNameToDecisionHubMap ) pr.second->accept( visitor );
438 
439  // iterate through Data [and Conditions] nodes
440  for ( auto pr : m_dataPathToDataNodeMap ) pr.second->accept( visitor );
441  }
AlgoNodesMap m_algoNameToAlgoNodeMap
Index: map of algorithm&#39;s name to AlgorithmNode.
DataNodesMap m_dataPathToDataNodeMap
Index: map of data path to DataNode.
DecisionHubsMap m_decisionNameToDecisionHubMap
Index: map of decision&#39;s name to DecisionHub.
StatusCode concurrency::PrecedenceRulesGraph::addAlgorithmNode ( Algorithm daughterAlgo,
const std::string parentName,
bool  inverted,
bool  allPass 
)

Add algorithm node.

Definition at line 244 of file PrecedenceRulesGraph.cpp.

246  {
247 
249 
250  // Create new, or fetch existent, AlgorithmNode
251  auto& algoName = algo->name();
252  auto itA = m_algoNameToAlgoNodeMap.find( algoName );
253  concurrency::AlgorithmNode* algoNode;
254  if ( itA != m_algoNameToAlgoNodeMap.end() ) {
255  algoNode = itA->second;
256  } else {
257  algoNode = new concurrency::AlgorithmNode( *this, algo, m_nodeCounter, m_algoCounter, inverted, allPass );
258  // Mirror the action above in the BGL-based graph
259  if ( m_enableAnalysis ) {
260  auto source =
261  boost::add_vertex( AlgoProps( algo, m_nodeCounter, m_algoCounter, inverted, allPass ), m_PRGraph );
262  boost::add_edge( source, node( parentName ), m_PRGraph );
263  }
264  ++m_nodeCounter;
265  ++m_algoCounter;
266  m_algoNameToAlgoNodeMap[algoName] = algoNode;
267  ON_VERBOSE verbose() << "AlgoNode " << algoName << " added @ " << algoNode << endmsg;
268  registerIODataObjects( algo );
269  }
270 
271  // Attach AlgorithmNode to its CF decision hub
272  auto itP = m_decisionNameToDecisionHubMap.find( parentName );
273  if ( itP != m_decisionNameToDecisionHubMap.end() ) {
274  auto parentNode = itP->second;
275  ON_VERBOSE verbose() << "Attaching AlgorithmNode '" << algo->name() << "' to DecisionNode '" << parentName << "'"
276  << endmsg;
277 
278  parentNode->addDaughterNode( algoNode );
279  algoNode->addParentNode( parentNode );
280  } else {
281  sc = StatusCode::FAILURE;
282  error() << "Requested DecisionNode '" << parentName << "' was not found" << endmsg;
283  }
284 
285  return sc;
286  }
constexpr static const auto FAILURE
Definition: StatusCode.h:88
PRVertexDesc node(const std::string &) const
AlgoNodesMap m_algoNameToAlgoNodeMap
Index: map of algorithm&#39;s name to AlgorithmNode.
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
unsigned int m_algoCounter
Total number of algorithm nodes in the graph.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
constexpr static const auto SUCCESS
Definition: StatusCode.h:87
T find(T...args)
void registerIODataObjects(const Algorithm *algo)
Register algorithm in the Data Dependency index.
unsigned int m_nodeCounter
Total number of nodes in the graph.
void addParentNode(DecisionNode *node)
Add a parent node.
#define ON_VERBOSE
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
DecisionHubsMap m_decisionNameToDecisionHubMap
Index: map of decision&#39;s name to DecisionHub.
StatusCode concurrency::PrecedenceRulesGraph::addDataNode ( const DataObjID dataPath)

Add DataNode that represents DataObject.

Definition at line 296 of file PrecedenceRulesGraph.cpp.

297  {
298 
299  StatusCode sc;
300 
301  auto itD = m_dataPathToDataNodeMap.find( dataPath );
302  concurrency::DataNode* dataNode;
303  if ( itD != m_dataPathToDataNodeMap.end() ) {
304  dataNode = itD->second;
305  sc = StatusCode::SUCCESS;
306  } else {
307  if ( !m_conditionsRealmEnabled ) {
308  dataNode = new concurrency::DataNode( *this, dataPath );
309  ON_VERBOSE verbose() << " DataNode for " << dataPath << " added @ " << dataNode << endmsg;
310  // Mirror the action above in the BGL-based graph
311  if ( m_enableAnalysis ) boost::add_vertex( DataProps( dataPath ), m_PRGraph );
312  } else {
313  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc", false )};
314  if ( condSvc->isRegistered( dataPath ) ) {
315  dataNode = new concurrency::ConditionNode( *this, dataPath, condSvc );
316  ON_VERBOSE verbose() << " ConditionNode for " << dataPath << " added @ " << dataNode << endmsg;
317  // Mirror the action above in the BGL-based graph
318  if ( m_enableAnalysis ) boost::add_vertex( CondDataProps( dataPath ), m_PRGraph );
319  } else {
320  dataNode = new concurrency::DataNode( *this, dataPath );
321  ON_VERBOSE verbose() << " DataNode for " << dataPath << " added @ " << dataNode << endmsg;
322  // Mirror the action above in the BGL-based graph
323  if ( m_enableAnalysis ) boost::add_vertex( DataProps( dataPath ), m_PRGraph );
324  }
325  }
326 
327  m_dataPathToDataNodeMap[dataPath] = dataNode;
328 
329  sc = StatusCode::SUCCESS;
330  }
331 
332  return sc;
333  }
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
Definition: ISvcLocator.h:79
bool m_conditionsRealmEnabled
Enable conditions realm of precedence rules.
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
constexpr static const auto SUCCESS
Definition: StatusCode.h:87
T find(T...args)
#define ON_VERBOSE
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
DataNodesMap m_dataPathToDataNodeMap
Index: map of data path to DataNode.
StatusCode concurrency::PrecedenceRulesGraph::addDecisionHubNode ( Algorithm daughterAlgo,
const std::string parentName,
concurrency::Concurrent  modeConcurrent,
concurrency::PromptDecision  modePromptDecision,
concurrency::ModeOr  modeOR,
concurrency::AllPass  allPass,
concurrency::Inverted  isInverted 
)

Add a node, which aggregates decisions of direct daughter nodes.

Definition at line 343 of file PrecedenceRulesGraph.cpp.

346  {
347 
349 
350  auto& decisionHubName = decisionHubAlgo->name();
351 
352  auto itP = m_decisionNameToDecisionHubMap.find( parentName );
353  concurrency::DecisionNode* parentNode;
354  if ( itP != m_decisionNameToDecisionHubMap.end() ) {
355  parentNode = itP->second;
356  auto itA = m_decisionNameToDecisionHubMap.find( decisionHubName );
357  concurrency::DecisionNode* decisionHubNode;
358  if ( itA != m_decisionNameToDecisionHubMap.end() ) {
359  decisionHubNode = itA->second;
360  } else {
361  decisionHubNode = new concurrency::DecisionNode( *this, m_nodeCounter, decisionHubName, modeConcurrent,
362  modePromptDecision, modeOR, allPass, isInverted );
363  m_decisionNameToDecisionHubMap[decisionHubName] = decisionHubNode;
364 
365  // Mirror the action above in the BGL-based graph
366  if ( m_enableAnalysis ) {
367  auto source = boost::add_vertex( DecisionHubProps( decisionHubName, m_nodeCounter, modeConcurrent,
368  modePromptDecision, modeOR, allPass, isInverted ),
369  m_PRGraph );
370  boost::add_edge( source, node( parentName ), m_PRGraph );
371  }
372 
373  ++m_nodeCounter;
374 
375  ON_VERBOSE verbose() << "Decision hub node " << decisionHubName << " added @ " << decisionHubNode << endmsg;
376  }
377 
378  parentNode->addDaughterNode( decisionHubNode );
379  decisionHubNode->addParentNode( parentNode );
380  } else {
381  sc = StatusCode::FAILURE;
382  error() << "Decision hub node " << parentName << ", requested to be parent, is not registered." << endmsg;
383  }
384 
385  return sc;
386  }
constexpr static const auto FAILURE
Definition: StatusCode.h:88
PRVertexDesc node(const std::string &) const
void addDaughterNode(ControlFlowNode *node)
Add a daughter node.
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
constexpr static const auto SUCCESS
Definition: StatusCode.h:87
T find(T...args)
void addParentNode(DecisionNode *node)
Add a parent node.
unsigned int m_nodeCounter
Total number of nodes in the graph.
#define ON_VERBOSE
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
DecisionHubsMap m_decisionNameToDecisionHubMap
Index: map of decision&#39;s name to DecisionHub.
void concurrency::PrecedenceRulesGraph::addEdgeToPrecTrace ( const AlgorithmNode u,
const AlgorithmNode v 
)

set cause-effect connection between two algorithms in the precedence trace

Definition at line 642 of file PrecedenceRulesGraph.cpp.

643  {
644 
645  std::string u_name = u == nullptr ? "ENTRY" : u->getNodeName();
646  std::string v_name = v->getNodeName();
647 
649 
650  if ( u == nullptr ) {
651  auto itT = m_prec_trace_map.find( "ENTRY" );
652  if ( itT != m_prec_trace_map.end() ) {
653  source = itT->second;
654  } else {
655  source = boost::add_vertex( precedence::AlgoTraceProps( "ENTRY", -1, -1, -1.0 ), m_precTrace );
656  m_prec_trace_map["ENTRY"] = source;
657  }
658  } else {
659  auto itS = m_prec_trace_map.find( u_name );
660  if ( itS != m_prec_trace_map.end() ) {
661  source = itS->second;
662  } else {
663 
664  source =
665  boost::add_vertex( precedence::AlgoTraceProps( u_name, u->getAlgoIndex(), u->getRank(), -1 ), m_precTrace );
666  m_prec_trace_map[u_name] = source;
667  }
668  }
669 
671 
672  auto itP = m_prec_trace_map.find( v_name );
673  if ( itP != m_prec_trace_map.end() ) {
674  target = itP->second;
675  } else {
676 
677  target =
678  boost::add_vertex( precedence::AlgoTraceProps( v_name, v->getAlgoIndex(), v->getRank(), -1 ), m_precTrace );
679  m_prec_trace_map[v_name] = target;
680  }
681 
682  boost::add_edge( source, target, m_precTrace );
683 
684  ON_DEBUG debug() << u_name << "-->" << v_name << " precedence trait added" << endmsg;
685  }
precedence::PrecTrace m_precTrace
facilities for algorithm precedence tracing
boost::graph_traits< PrecTrace >::vertex_descriptor AlgoTraceVertex
std::map< std::string, precedence::AlgoTraceVertex > m_prec_trace_map
T end(T...args)
#define ON_DEBUG
STL class.
T find(T...args)
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
void concurrency::PrecedenceRulesGraph::addHeadNode ( const std::string headName,
concurrency::Concurrent  modeConcurrent,
concurrency::PromptDecision  modePromptDecision,
concurrency::ModeOr  modeOR,
concurrency::AllPass  allPass,
concurrency::Inverted  isInverted 
)

Add a node, which has no parents.

Definition at line 389 of file PrecedenceRulesGraph.cpp.

392  {
393 
394  auto itH = m_decisionNameToDecisionHubMap.find( headName );
395  if ( itH != m_decisionNameToDecisionHubMap.end() ) {
396  m_headNode = itH->second;
397  } else {
398  m_headNode = new concurrency::DecisionNode( *this, m_nodeCounter, headName, modeConcurrent, modePromptDecision,
399  modeOR, allPass, isInverted );
401 
402  // Mirror the action above in the BGL-based graph
403  if ( m_enableAnalysis ) {
404  boost::add_vertex( DecisionHubProps( headName, m_nodeCounter, modeConcurrent, modePromptDecision, modeOR,
405  allPass, isInverted ),
406  m_PRGraph );
407  }
408 
409  ++m_nodeCounter;
410  }
411  }
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
DecisionNode * m_headNode
the head node of the control flow graph
T find(T...args)
unsigned int m_nodeCounter
Total number of nodes in the graph.
DecisionHubsMap m_decisionNameToDecisionHubMap
Index: map of decision&#39;s name to DecisionHub.
StatusCode concurrency::PrecedenceRulesGraph::buildDataDependenciesRealm ( )

Build data dependency realm WITH data object nodes participating.

Definition at line 192 of file PrecedenceRulesGraph.cpp.

193  {
194 
195  StatusCode global_sc( StatusCode::SUCCESS, true );
196 
197  // Production of DataNodes by AlgorithmNodes (DataNodes are created here)
198  for ( auto algo : m_algoNameToAlgoNodeMap ) {
199 
200  auto& outputs = m_algoNameToAlgoOutputsMap[algo.first];
201  for ( auto output : outputs ) {
202  const auto sc = addDataNode( output );
203  if ( !sc.isSuccess() ) {
204  error() << "Extra producer (" << algo.first << ") for DataObject @ " << output
205  << " has been detected: this is not allowed." << endmsg;
206  global_sc = sc;
207  }
208  auto dataNode = getDataNode( output );
209  dataNode->addProducerNode( algo.second );
210  algo.second->addOutputDataNode( dataNode );
211 
212  // Mirror the action above in the BGL-based graph
213  if ( m_enableAnalysis )
214  boost::add_edge( node( algo.second->getNodeName() ), node( output.fullKey() ), m_PRGraph );
215  }
216  }
217 
218  // Consumption of DataNodes by AlgorithmNodes
219  for ( auto algo : m_algoNameToAlgoNodeMap ) {
220 
221  for ( auto input : m_algoNameToAlgoInputsMap[algo.first] ) {
222 
223  DataNode* dataNode = nullptr;
224 
225  auto itP = m_dataPathToDataNodeMap.find( input );
226 
227  if ( itP != m_dataPathToDataNodeMap.end() ) dataNode = getDataNode( input );
228 
229  if ( dataNode ) {
230  dataNode->addConsumerNode( algo.second );
231  algo.second->addInputDataNode( dataNode );
232 
233  // Mirror the action above in the BGL-based graph
234  if ( m_enableAnalysis )
235  boost::add_edge( node( input.fullKey() ), node( algo.second->getNodeName() ), m_PRGraph );
236  }
237  }
238  }
239 
240  return global_sc;
241  }
PRVertexDesc node(const std::string &) const
AlgoNodesMap m_algoNameToAlgoNodeMap
Index: map of algorithm&#39;s name to AlgorithmNode.
StatusCode addDataNode(const DataObjID &dataPath)
Add DataNode that represents DataObject.
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
DataNode * getDataNode(const DataObjID &dataPath) const
Get DataNode by DataObject path using graph index.
constexpr static const auto SUCCESS
Definition: StatusCode.h:87
T find(T...args)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
AlgoInputsMap m_algoNameToAlgoInputsMap
Indexes: maps of algorithm&#39;s name to algorithm&#39;s inputs/outputs.
DataNodesMap m_dataPathToDataNodeMap
Index: map of data path to DataNode.
void addConsumerNode(AlgorithmNode *node)
Add relationship to consumer AlgorithmNode.
std::string concurrency::PrecedenceRulesGraph::dumpControlFlow ( ) const

Print out control flow of Algorithms and Sequences.

Definition at line 455 of file PrecedenceRulesGraph.cpp.

456  {
457  std::ostringstream ost;
458  dumpControlFlow( ost, m_headNode, 0 );
459  return ost.str();
460  }
DecisionNode * m_headNode
the head node of the control flow graph
std::string dumpControlFlow() const
Print out control flow of Algorithms and Sequences.
void concurrency::PrecedenceRulesGraph::dumpControlFlow ( std::ostringstream ost,
ControlFlowNode node,
const int &  indent 
) const

Definition at line 462 of file PrecedenceRulesGraph.cpp.

463  {
464  ost << std::string( indent * 2, ' ' );
465  DecisionNode* dn = dynamic_cast<DecisionNode*>( node );
466  AlgorithmNode* an = dynamic_cast<AlgorithmNode*>( node );
467  if ( dn != 0 ) {
468  if ( node != m_headNode ) {
469  ost << node->getNodeName() << " [Seq] ";
470  ost << ( ( dn->m_modeConcurrent ) ? " [Concurrent] " : " [Sequential] " );
471  ost << ( ( dn->m_modePromptDecision ) ? " [Prompt] " : "" );
472  ost << ( ( dn->m_modeOR ) ? " [OR] " : "" );
473  ost << ( ( dn->m_allPass ) ? " [PASS] " : "" );
474  ost << "\n";
475  }
476  const std::vector<ControlFlowNode*>& dth = dn->getDaughters();
477  for ( std::vector<ControlFlowNode*>::const_iterator itr = dth.begin(); itr != dth.end(); ++itr ) {
478  dumpControlFlow( ost, *itr, indent + 1 );
479  }
480  } else if ( an != 0 ) {
481  ost << node->getNodeName() << " [Alg] ";
482  if ( an != 0 ) {
483  auto ar = an->getAlgorithm();
484  ost << " [n= " << ar->cardinality() << "]";
485  ost << ( ( !ar->isClonable() ) ? " [unclonable] " : "" );
486  }
487  ost << "\n";
488  }
489  }
PRVertexDesc node(const std::string &) const
T end(T...args)
STL class.
DecisionNode * m_headNode
the head node of the control flow graph
STL class.
T begin(T...args)
std::string dumpControlFlow() const
Print out control flow of Algorithms and Sequences.
std::string concurrency::PrecedenceRulesGraph::dumpDataFlow ( ) const

Print out all data origins and destinations, as reflected in the EF graph.

Definition at line 492 of file PrecedenceRulesGraph.cpp.

493  {
494 
495  const char idt[] = " ";
496  std::ostringstream ost;
497 
498  ost << "\n" << idt << "====================================\n";
499  ost << idt << "Data origins and destinations:\n";
500  ost << idt << "====================================\n";
501 
502  for ( auto& pair : m_dataPathToDataNodeMap ) {
503 
504  for ( auto algoNode : pair.second->getProducers() ) ost << idt << " " << algoNode->getNodeName() << "\n";
505 
506  ost << idt << " V\n";
507  ost << idt << " o " << pair.first << "\n";
508  ost << idt << " V\n";
509 
510  for ( auto algoNode : pair.second->getConsumers() ) ost << idt << " " << algoNode->getNodeName() << "\n";
511 
512  ost << idt << "====================================\n";
513  }
514 
515  return ost.str();
516  }
DataNodesMap m_dataPathToDataNodeMap
Index: map of data path to DataNode.
void concurrency::PrecedenceRulesGraph::dumpPrecRules ( const boost::filesystem::path &  fileName,
const EventSlot slot 
)

dump to file the precedence rules

Definition at line 520 of file PrecedenceRulesGraph.cpp.

521  {
522  boost::filesystem::ofstream myfile;
523  myfile.open( fileName, std::ios::app );
524 
525  // Declare properties to dump
526  boost::dynamic_properties dp;
527 
528  using boost::make_transform_value_property_map;
529  using boost::apply_visitor;
530  using boost::get;
531  using boost::vertex_bundle;
532 
533  dp.property( "Entity", make_transform_value_property_map(
534  []( const VariantVertexProps& v ) { return boost::lexical_cast<std::string>( v ); },
535  get( vertex_bundle, m_PRGraph ) ) );
536 
537  auto nameVis = precedence::VertexName();
538  dp.property( "Name", make_transform_value_property_map(
539  [&nameVis]( const VariantVertexProps& v ) { return apply_visitor( nameVis, v ); },
540  get( vertex_bundle, m_PRGraph ) ) );
541 
542  auto gMVis = precedence::GroupMode();
543  dp.property( "Mode", make_transform_value_property_map(
544  [&gMVis]( const VariantVertexProps& v ) { return apply_visitor( gMVis, v ); },
545  get( vertex_bundle, m_PRGraph ) ) );
546 
547  auto gLVis = precedence::GroupLogic();
548  dp.property( "Logic", make_transform_value_property_map(
549  [&gLVis]( const VariantVertexProps& v ) { return apply_visitor( gLVis, v ); },
550  get( vertex_bundle, m_PRGraph ) ) );
551 
552  auto dNVis = precedence::DecisionNegation();
553  dp.property( "Decision Negation", make_transform_value_property_map(
554  [&dNVis]( const VariantVertexProps& v ) { return apply_visitor( dNVis, v ); },
555  get( vertex_bundle, m_PRGraph ) ) );
556 
557  auto aPVis = precedence::AllPass();
558  dp.property( "Negative Decision Inversion",
559  make_transform_value_property_map(
560  [&aPVis]( const VariantVertexProps& v ) { return apply_visitor( aPVis, v ); },
561  get( vertex_bundle, m_PRGraph ) ) );
562 
563  auto gEVis = precedence::GroupExit();
564  dp.property( "Exit Policy", make_transform_value_property_map(
565  [&gEVis]( const VariantVertexProps& v ) { return apply_visitor( gEVis, v ); },
566  get( vertex_bundle, m_PRGraph ) ) );
567 
568  auto opVis = precedence::Operations();
569  dp.property( "Operations", make_transform_value_property_map(
570  [&opVis]( const VariantVertexProps& v ) { return apply_visitor( opVis, v ); },
571  get( vertex_bundle, m_PRGraph ) ) );
572 
573  auto cFDVis = precedence::CFDecision( slot );
574  dp.property( "CF Decision", make_transform_value_property_map(
575  [&cFDVis]( const VariantVertexProps& v ) { return apply_visitor( cFDVis, v ); },
576  get( vertex_bundle, m_PRGraph ) ) );
577 
579  dp.property( "State", make_transform_value_property_map(
580  [&stVis]( const VariantVertexProps& v ) { return apply_visitor( stVis, v ); },
581  get( vertex_bundle, m_PRGraph ) ) );
582 
583  auto sTVis = precedence::StartTime( slot, serviceLocator() );
584  dp.property( "Start Time (Epoch ns)",
585  make_transform_value_property_map(
586  [&sTVis]( const VariantVertexProps& v ) { return apply_visitor( sTVis, v ); },
587  get( vertex_bundle, m_PRGraph ) ) );
588 
589  auto eTVis = precedence::EndTime( slot, serviceLocator() );
590  dp.property( "End Time (Epoch ns)",
591  make_transform_value_property_map(
592  [&eTVis]( const VariantVertexProps& v ) { return apply_visitor( eTVis, v ); },
593  get( vertex_bundle, m_PRGraph ) ) );
594 
595  auto durVis = precedence::Duration( slot, serviceLocator() );
596  dp.property( "Runtime (ns)", make_transform_value_property_map(
597  [&durVis]( const VariantVertexProps& v ) { return apply_visitor( durVis, v ); },
598  get( vertex_bundle, m_PRGraph ) ) );
599 
600  boost::write_graphml( myfile, m_PRGraph, dp );
601 
602  myfile.close();
603  }
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
STL class.
bool m_conditionsRealmEnabled
Enable conditions realm of precedence rules.
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
Gaudi::tagged_bool< class AllPass_tag > AllPass
boost::variant< AlgoProps, DecisionHubProps, DataProps, CondDataProps > VariantVertexProps
void concurrency::PrecedenceRulesGraph::dumpPrecTrace ( const boost::filesystem::path &  fileName)

dump to file the precedence trace

Definition at line 606 of file PrecedenceRulesGraph.cpp.

607  {
608  boost::filesystem::ofstream myfile;
609  myfile.open( fileName, std::ios::app );
610 
611  // Fill runtimes (as this could not be done on the fly during trace assembling)
612  SmartIF<ITimelineSvc> timelineSvc = m_svcLocator->service<ITimelineSvc>( "TimelineSvc", false );
613  if ( !timelineSvc.isValid() ) {
614  warning() << "Failed to get the TimelineSvc, timing will not be added to "
615  << "the task precedence trace dump" << endmsg;
616  } else {
617 
618  typedef boost::graph_traits<precedence::PRGraph>::vertex_iterator vertex_iter;
620  for ( vp = vertices( m_precTrace ); vp.first != vp.second; ++vp.first ) {
621  TimelineEvent te{};
622  te.algorithm = m_precTrace[*vp.first].m_name;
623  timelineSvc->getTimelineEvent( te );
624  int runtime = std::chrono::duration_cast<std::chrono::nanoseconds>( te.end - te.start ).count();
625  m_precTrace[*vp.first].m_runtime = runtime;
626  }
627  }
628 
629  // Declare properties to dump
630  boost::dynamic_properties dp;
631  using boost::get;
633  dp.property( "Name", get( &AlgoTraceProps::m_name, m_precTrace ) );
634  dp.property( "Rank", get( &AlgoTraceProps::m_rank, m_precTrace ) );
635  dp.property( "Runtime", get( &AlgoTraceProps::m_runtime, m_precTrace ) );
636 
637  boost::write_graphml( myfile, m_precTrace, dp );
638 
639  myfile.close();
640  }
precedence::PrecTrace m_precTrace
facilities for algorithm precedence tracing
std::string algorithm
Definition: ITimelineSvc.h:21
T duration_cast(T...args)
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
Definition: ISvcLocator.h:79
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
T count(T...args)
virtual bool getTimelineEvent(TimelineEvent &) const =0
bool isValid() const
Allow for check if smart pointer is valid.
Definition: SmartIF.h:68
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)
void concurrency::PrecedenceRulesGraph::enableAnalysis ( )
inline

BGL-based facilities.

Definition at line 764 of file PrecedenceRulesGraph.h.

AlgorithmNode * concurrency::PrecedenceRulesGraph::getAlgorithmNode ( const std::string algoName) const

Get the AlgorithmNode from by algorithm name using graph index.

Definition at line 289 of file PrecedenceRulesGraph.cpp.

290  {
291 
292  return m_algoNameToAlgoNodeMap.at( algoName );
293  }
AlgoNodesMap m_algoNameToAlgoNodeMap
Index: map of algorithm&#39;s name to AlgorithmNode.
unsigned int concurrency::PrecedenceRulesGraph::getControlFlowNodeCounter ( ) const
inline

Get total number of control flow graph nodes.

Definition at line 744 of file PrecedenceRulesGraph.h.

744 { return m_nodeCounter; }
unsigned int m_nodeCounter
Total number of nodes in the graph.
DataNode * concurrency::PrecedenceRulesGraph::getDataNode ( const DataObjID dataPath) const

Get DataNode by DataObject path using graph index.

Definition at line 336 of file PrecedenceRulesGraph.cpp.

337  {
338 
339  return m_dataPathToDataNodeMap.at( dataPath );
340  }
DataNodesMap m_dataPathToDataNodeMap
Index: map of data path to DataNode.
DecisionNode* concurrency::PrecedenceRulesGraph::getHeadNode ( ) const
inline

Get head node.

Definition at line 734 of file PrecedenceRulesGraph.h.

734 { return m_headNode; };
DecisionNode * m_headNode
the head node of the control flow graph
const std::chrono::system_clock::time_point concurrency::PrecedenceRulesGraph::getInitTime ( ) const
inline

Definition at line 754 of file PrecedenceRulesGraph.h.

754 { return m_initTime; }
const std::chrono::system_clock::time_point m_initTime
StatusCode concurrency::PrecedenceRulesGraph::initialize ( )

Initialize graph.

Definition at line 126 of file PrecedenceRulesGraph.cpp.

127  {
128  if ( serviceLocator()->existsService( "CondSvc" ) ) {
129  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc" )};
130  if ( condSvc.isValid() ) {
131  info() << "CondSvc found. DF precedence rules will be augmented with 'Conditions'" << endmsg;
133  }
134  }
135 
136  // Detach condition algorithms from the CF realm
137  if ( m_conditionsRealmEnabled ) {
138  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc", false )};
139  auto& condAlgs = condSvc->condAlgs();
140  for ( const auto algo : condAlgs ) {
141  auto itA = m_algoNameToAlgoNodeMap.find( algo->name() );
142  concurrency::AlgorithmNode* algoNode;
143  if ( itA != m_algoNameToAlgoNodeMap.end() ) {
144  algoNode = itA->second;
145  debug() << "Detaching condition algorithm '" << algo->name() << "' from the CF realm.." << endmsg;
146  for ( auto parent : algoNode->getParentDecisionHubs() ) {
147  parent->m_children.erase( std::remove( parent->m_children.begin(), parent->m_children.end(), algoNode ),
148  parent->m_children.end() );
149  // clean up also auxiliary BGL-based graph of precedence rules
150  if ( m_enableAnalysis )
151  boost::remove_edge( node( algoNode->getNodeName() ), node( parent->getNodeName() ), m_PRGraph );
152  }
153  algoNode->m_parents.clear();
154 
155  } else {
156  warning() << "Algorithm '" << algo->name() << "' is not registered in the graph" << endmsg;
157  }
158  }
159  }
160 
162 
163  if ( !sc.isSuccess() ) error() << "Could not build the data dependency realm." << endmsg;
164 
165  ON_DEBUG debug() << dumpDataFlow() << endmsg;
166 
167  return sc;
168  }
PRVertexDesc node(const std::string &) const
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
bool isSuccess() const
Definition: StatusCode.h:287
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
AlgoNodesMap m_algoNameToAlgoNodeMap
Index: map of algorithm&#39;s name to AlgorithmNode.
std::vector< DecisionNode * > m_parents
Control flow parents of an AlgorithmNode (DecisionNodes)
#define ON_DEBUG
const std::vector< DecisionNode * > & getParentDecisionHubs() const
Get all parent decision hubs.
T remove(T...args)
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
Definition: ISvcLocator.h:79
MsgStream & error() const
shortcut for the method msgStream(MSG::ERROR)
bool m_conditionsRealmEnabled
Enable conditions realm of precedence rules.
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
This class is used for returning status codes from appropriate routines.
Definition: StatusCode.h:51
std::string dumpDataFlow() const
Print out all data origins and destinations, as reflected in the EF graph.
T find(T...args)
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
const std::string & getNodeName() const
Get node name.
StatusCode buildDataDependenciesRealm()
Build data dependency realm WITH data object nodes participating.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
const std::string& concurrency::PrecedenceRulesGraph::name ( ) const
inlineoverride

Retrieve name of the service.

Definition at line 750 of file PrecedenceRulesGraph.h.

750 { return m_name; }
PRVertexDesc concurrency::PrecedenceRulesGraph::node ( const std::string name) const

Definition at line 414 of file PrecedenceRulesGraph.cpp.

415  {
416 
417  PRVertexDesc target{};
418 
419  for ( auto vp = vertices( m_PRGraph ); vp.first != vp.second; ++vp.first ) {
420  PRVertexDesc v = *vp.first;
421  if ( boost::apply_visitor( precedence::VertexName(), m_PRGraph[v] ) == name ) {
422  target = v;
423  break;
424  }
425  }
426 
427  return target;
428  }
boost::graph_traits< PRGraph >::vertex_descriptor PRVertexDesc
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
void concurrency::PrecedenceRulesGraph::printState ( std::stringstream output,
AlgsExecutionStates states,
const std::vector< int > &  node_decisions,
const unsigned int &  recursionLevel 
) const
inline

Print a string representing the control flow state.

Definition at line 757 of file PrecedenceRulesGraph.h.

759  {
760  m_headNode->printState( output, states, node_decisions, recursionLevel );
761  }
DecisionNode * m_headNode
the head node of the control flow graph
void printState(std::stringstream &output, AlgsExecutionStates &states, const std::vector< int > &node_decisions, const unsigned int &recursionLevel) const override
Print a string representing the control flow state.
void concurrency::PrecedenceRulesGraph::rankAlgorithms ( IGraphVisitor ranker) const

Rank Algorithm nodes by the number of data outputs.

Definition at line 444 of file PrecedenceRulesGraph.cpp.

445  {
446 
447  info() << "Starting ranking by data outputs .. " << endmsg;
448  for ( auto& pair : m_algoNameToAlgoNodeMap ) {
449  ON_DEBUG debug() << " Ranking " << pair.first << "... " << endmsg;
450  pair.second->accept( ranker );
451  ON_DEBUG debug() << " ... rank of " << pair.first << ": " << pair.second->getRank() << endmsg;
452  }
453  }
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
AlgoNodesMap m_algoNameToAlgoNodeMap
Index: map of algorithm&#39;s name to AlgorithmNode.
#define ON_DEBUG
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
void concurrency::PrecedenceRulesGraph::registerIODataObjects ( const Algorithm algo)

Register algorithm in the Data Dependency index.

Definition at line 171 of file PrecedenceRulesGraph.cpp.

172  {
173 
174  const std::string& algoName = algo->name();
175 
176  m_algoNameToAlgoInputsMap[algoName] = algo->inputDataObjs();
177  m_algoNameToAlgoOutputsMap[algoName] = algo->outputDataObjs();
178 
179  ON_VERBOSE
180  {
181  verbose() << " Inputs of " << algoName << ": ";
182  for ( auto tag : algo->inputDataObjs() ) verbose() << tag << " | ";
183  verbose() << endmsg;
184 
185  verbose() << " Outputs of " << algoName << ": ";
186  for ( auto tag : algo->outputDataObjs() ) verbose() << tag << " | ";
187  verbose() << endmsg;
188  }
189  }
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:746
const DataObjIDColl & outputDataObjs() const override
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
STL class.
const DataObjIDColl & inputDataObjs() const override
#define ON_VERBOSE
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:209
AlgoInputsMap m_algoNameToAlgoInputsMap
Indexes: maps of algorithm&#39;s name to algorithm&#39;s inputs/outputs.
SmartIF<ISvcLocator>& concurrency::PrecedenceRulesGraph::serviceLocator ( ) const
inlineoverride

Retrieve pointer to service locator.

Definition at line 752 of file PrecedenceRulesGraph.h.

752 { return m_svcLocator; }
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)

Member Data Documentation

unsigned int concurrency::PrecedenceRulesGraph::m_algoCounter
private

Total number of algorithm nodes in the graph.

Definition at line 796 of file PrecedenceRulesGraph.h.

AlgoInputsMap concurrency::PrecedenceRulesGraph::m_algoNameToAlgoInputsMap
private

Indexes: maps of algorithm's name to algorithm's inputs/outputs.

Definition at line 790 of file PrecedenceRulesGraph.h.

AlgoNodesMap concurrency::PrecedenceRulesGraph::m_algoNameToAlgoNodeMap
private

Index: map of algorithm's name to AlgorithmNode.

Definition at line 784 of file PrecedenceRulesGraph.h.

AlgoOutputsMap concurrency::PrecedenceRulesGraph::m_algoNameToAlgoOutputsMap
private

Definition at line 791 of file PrecedenceRulesGraph.h.

bool concurrency::PrecedenceRulesGraph::m_conditionsRealmEnabled {false}
private

Enable conditions realm of precedence rules.

Definition at line 812 of file PrecedenceRulesGraph.h.

DataNodesMap concurrency::PrecedenceRulesGraph::m_dataPathToDataNodeMap
private

Index: map of data path to DataNode.

Definition at line 788 of file PrecedenceRulesGraph.h.

DecisionHubsMap concurrency::PrecedenceRulesGraph::m_decisionNameToDecisionHubMap
private

Index: map of decision's name to DecisionHub.

Definition at line 786 of file PrecedenceRulesGraph.h.

bool concurrency::PrecedenceRulesGraph::m_enableAnalysis {false}
private

Definition at line 807 of file PrecedenceRulesGraph.h.

DecisionNode* concurrency::PrecedenceRulesGraph::m_headNode
private

the head node of the control flow graph

Definition at line 782 of file PrecedenceRulesGraph.h.

const std::chrono::system_clock::time_point concurrency::PrecedenceRulesGraph::m_initTime
private

Definition at line 802 of file PrecedenceRulesGraph.h.

const std::string concurrency::PrecedenceRulesGraph::m_name
private

Definition at line 800 of file PrecedenceRulesGraph.h.

unsigned int concurrency::PrecedenceRulesGraph::m_nodeCounter
private

Total number of nodes in the graph.

Definition at line 794 of file PrecedenceRulesGraph.h.

std::map<std::string, precedence::AlgoTraceVertex> concurrency::PrecedenceRulesGraph::m_prec_trace_map
private

Definition at line 806 of file PrecedenceRulesGraph.h.

precedence::PrecTrace concurrency::PrecedenceRulesGraph::m_precTrace
private

facilities for algorithm precedence tracing

Definition at line 805 of file PrecedenceRulesGraph.h.

precedence::PRGraph concurrency::PrecedenceRulesGraph::m_PRGraph
private

BGL-based graph of precedence rules.

Definition at line 809 of file PrecedenceRulesGraph.h.

SmartIF<ISvcLocator> concurrency::PrecedenceRulesGraph::m_svcLocator
mutableprivate

Service locator (needed to access the MessageSvc)

Definition at line 799 of file PrecedenceRulesGraph.h.


The documentation for this class was generated from the following files: