The Gaudi Framework  v33r0 (d5ea422b)
concurrency::PrecedenceRulesGraph Class Reference

#include <src/PRGraph/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...
 
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 Gaudi::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 (Gaudi::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 (Gaudi::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...
 
void printState (std::stringstream &output, EventSlot &slot, 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 = nullptr
 the head node of the control flow graph More...
 
std::unordered_map< std::string, std::unique_ptr< AlgorithmNode > > m_algoNameToAlgoNodeMap
 Index: map of algorithm's name to AlgorithmNode. More...
 
std::unordered_map< std::string, std::unique_ptr< DecisionNode > > m_decisionNameToDecisionHubMap
 Index: map of decision's name to DecisionHub. More...
 
std::unordered_map< DataObjID, std::unique_ptr< DataNode >, DataObjID_Hasherm_dataPathToDataNodeMap
 Index: map of data path to DataNode. More...
 
std::unordered_map< std::string, DataObjIDCollm_algoNameToAlgoInputsMap
 Indexes: maps of algorithm's name to algorithm's inputs/outputs. More...
 
std::unordered_map< std::string, DataObjIDCollm_algoNameToAlgoOutputsMap
 
unsigned int m_nodeCounter = 0
 Total number of nodes in the graph. More...
 
unsigned int m_algoCounter = 0
 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
 
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 632 of file PrecedenceRulesGraph.h.

Constructor & Destructor Documentation

◆ PrecedenceRulesGraph()

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

Constructor.

Definition at line 635 of file PrecedenceRulesGraph.h.

635  : m_svcLocator( svc ), m_name( name ) {
636  // make sure that CommonMessaging is initialized
637  setUpMessaging();
638  }
MSG::Level setUpMessaging() const
Set up local caches.
const std::string & name() const override
Retrieve name of the service.
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)

Member Function Documentation

◆ accept()

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

An entry point to visit all graph nodes.

Definition at line 495 of file PrecedenceRulesGraph.cpp.

495  {
496  // iterate through Algorithm nodes
497  for ( auto& pr : m_algoNameToAlgoNodeMap ) pr.second->accept( visitor );
498 
499  // iterate through DecisionHub nodes
500  for ( auto& pr : m_decisionNameToDecisionHubMap ) pr.second->accept( visitor );
501 
502  // iterate through Data [and Conditions] nodes
503  for ( auto& pr : m_dataPathToDataNodeMap ) pr.second->accept( visitor );
504  }
std::unordered_map< DataObjID, std::unique_ptr< DataNode >, DataObjID_Hasher > m_dataPathToDataNodeMap
Index: map of data path to DataNode.
std::unordered_map< std::string, std::unique_ptr< AlgorithmNode > > m_algoNameToAlgoNodeMap
Index: map of algorithm's name to AlgorithmNode.
std::unordered_map< std::string, std::unique_ptr< DecisionNode > > m_decisionNameToDecisionHubMap
Index: map of decision's name to DecisionHub.

◆ addAlgorithmNode()

StatusCode concurrency::PrecedenceRulesGraph::addAlgorithmNode ( Gaudi::Algorithm daughterAlgo,
const std::string parentName,
bool  inverted,
bool  allPass 
)

Add algorithm node.

Create new, or fetch existent, AlgorithmNode

Attach AlgorithmNode to its parent DecisionNode

Definition at line 325 of file PrecedenceRulesGraph.cpp.

326  {
327 
329 
331 
332  auto& algoName = algo->name();
333 
334  concurrency::AlgorithmNode* algoNode;
335 
336  auto itA = m_algoNameToAlgoNodeMap.find( algoName );
337  if ( itA != m_algoNameToAlgoNodeMap.end() ) {
338  algoNode = itA->second.get();
339  } else {
340  auto r = m_algoNameToAlgoNodeMap.emplace(
341  algoName, std::make_unique<concurrency::AlgorithmNode>( *this, algo, m_nodeCounter, m_algoCounter, inverted,
342  allPass ) );
343  algoNode = r.first->second.get();
344 
345  // Mirror AlgorithmNode in the BGL-based graph
346  if ( m_enableAnalysis ) {
347  boost::add_vertex( AlgoProps( algo, m_nodeCounter, m_algoCounter, inverted, allPass ), m_PRGraph );
348  }
349  ++m_nodeCounter;
350  ++m_algoCounter;
351  ON_VERBOSE verbose() << "AlgorithmNode '" << algoName << "' added @ " << algoNode << endmsg;
352 
353  registerIODataObjects( algo );
354  }
355 
357  auto itP = m_decisionNameToDecisionHubMap.find( parentName );
358  if ( itP != m_decisionNameToDecisionHubMap.end() ) {
359  auto parentNode = itP->second.get();
360 
361  parentNode->addDaughterNode( algoNode );
362  algoNode->addParentNode( parentNode );
363 
364  // Mirror algorithm to CF parent relationship in the BGL-based graph
365  if ( m_enableAnalysis ) boost::add_edge( node( algo->name() ), node( parentName ), m_PRGraph );
366 
367  ON_VERBOSE verbose() << "Attached AlgorithmNode '" << algo->name() << "' to parent DecisionNode '" << parentName
368  << "'" << endmsg;
369  } else {
370  sc = StatusCode::FAILURE;
371  error() << "Parent DecisionNode '" << parentName << "' was not found" << endmsg;
372  }
373 
374  return sc;
375  }
constexpr static const auto SUCCESS
Definition: StatusCode.h:96
unsigned int m_algoCounter
Total number of algorithm nodes in the graph.
std::unordered_map< std::string, std::unique_ptr< AlgorithmNode > > m_algoNameToAlgoNodeMap
Index: map of algorithm's name to AlgorithmNode.
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:61
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
void registerIODataObjects(const Gaudi::Algorithm *algo)
Register algorithm in the Data Dependency index.
PRVertexDesc node(const std::string &) const
std::unordered_map< std::string, std::unique_ptr< DecisionNode > > m_decisionNameToDecisionHubMap
Index: map of decision's name to DecisionHub.
unsigned int m_nodeCounter
Total number of nodes in the graph.
constexpr static const auto FAILURE
Definition: StatusCode.h:97
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:202

◆ addDataNode()

StatusCode concurrency::PrecedenceRulesGraph::addDataNode ( const DataObjID dataPath)

Add DataNode that represents DataObject.

Definition at line 378 of file PrecedenceRulesGraph.cpp.

378  {
379 
380  auto itD = m_dataPathToDataNodeMap.find( dataPath );
381  if ( itD != m_dataPathToDataNodeMap.end() ) return StatusCode::SUCCESS;
382 
384  if ( !m_conditionsRealmEnabled ) {
385  dataNode = std::make_unique<concurrency::DataNode>( *this, dataPath );
386  ON_VERBOSE verbose() << " DataNode " << dataPath << " added @ " << dataNode.get() << endmsg;
387  // Mirror the action above in the BGL-based graph
388  if ( m_enableAnalysis ) boost::add_vertex( DataProps( dataPath ), m_PRGraph );
389  } else {
390  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc", false )};
391  if ( condSvc->isRegistered( dataPath ) ) {
392  dataNode = std::make_unique<concurrency::ConditionNode>( *this, dataPath, condSvc );
393  ON_VERBOSE verbose() << " ConditionNode " << dataPath << " added @ " << dataNode.get() << endmsg;
394  // Mirror the action above in the BGL-based graph
395  if ( m_enableAnalysis ) boost::add_vertex( CondDataProps( dataPath ), m_PRGraph );
396  } else {
397  dataNode = std::make_unique<concurrency::DataNode>( *this, dataPath );
398  ON_VERBOSE verbose() << " DataNode " << dataPath << " added @ " << dataNode.get() << endmsg;
399  // Mirror the action above in the BGL-based graph
400  if ( m_enableAnalysis ) boost::add_vertex( DataProps( dataPath ), m_PRGraph );
401  }
402  }
403  m_dataPathToDataNodeMap.emplace( dataPath, std::move( dataNode ) );
404  return StatusCode::SUCCESS;
405  }
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
constexpr static const auto SUCCESS
Definition: StatusCode.h:96
std::unordered_map< DataObjID, std::unique_ptr< DataNode >, DataObjID_Hasher > m_dataPathToDataNodeMap
Index: map of data path to DataNode.
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
Definition: ISvcLocator.h:86
bool m_conditionsRealmEnabled
Enable conditions realm of precedence rules.
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
T move(T... args)
T get(T... args)
#define ON_VERBOSE
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202

◆ addDecisionHubNode()

StatusCode concurrency::PrecedenceRulesGraph::addDecisionHubNode ( Gaudi::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.

Create new, or fetch existent, DecisionNode

Attach DecisionNode to its parent DecisionNode

Definition at line 408 of file PrecedenceRulesGraph.cpp.

410  {
411 
413 
415 
416  auto& decisionHubName = decisionHubAlgo->name();
417 
418  auto itA = m_decisionNameToDecisionHubMap.find( decisionHubName );
419  concurrency::DecisionNode* decisionHubNode;
420  if ( itA != m_decisionNameToDecisionHubMap.end() ) {
421  decisionHubNode = itA->second.get();
422  } else {
423  auto r = m_decisionNameToDecisionHubMap.emplace(
424  decisionHubName,
425  std::make_unique<concurrency::DecisionNode>( *this, m_nodeCounter, decisionHubName, modeConcurrent,
426  modePromptDecision, modeOR, allPass, isInverted ) );
427  decisionHubNode = r.first->second.get();
428  // Mirror DecisionNode in the BGL-based graph
429  if ( m_enableAnalysis ) {
430  boost::add_vertex( DecisionHubProps( decisionHubName, m_nodeCounter, modeConcurrent, modePromptDecision, modeOR,
431  allPass, isInverted ),
432  m_PRGraph );
433  }
434 
435  ++m_nodeCounter;
436 
437  ON_VERBOSE verbose() << "DecisionNode '" << decisionHubName << "' added @ " << decisionHubNode << endmsg;
438  }
439 
441  auto itP = m_decisionNameToDecisionHubMap.find( parentName );
442  if ( itP != m_decisionNameToDecisionHubMap.end() ) {
443  auto parentNode = itP->second.get();
444  parentNode->addDaughterNode( decisionHubNode );
445  decisionHubNode->addParentNode( parentNode );
446 
447  // Mirror DecisionNode-to-DecisionNode relationship in the BGL-based graph
448  if ( m_enableAnalysis ) boost::add_edge( node( decisionHubName ), node( parentName ), m_PRGraph );
449 
450  ON_VERBOSE verbose() << "Attached DecisionNode '" << decisionHubName << "' to parent DecisionNode '" << parentName
451  << "'" << endmsg;
452  } else {
453  sc = StatusCode::FAILURE;
454  error() << "Parent DecisionNode '" << parentName << "' was not found" << endmsg;
455  }
456 
457  return sc;
458  }
constexpr static const auto SUCCESS
Definition: StatusCode.h:96
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:61
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
PRVertexDesc node(const std::string &) const
std::unordered_map< std::string, std::unique_ptr< DecisionNode > > m_decisionNameToDecisionHubMap
Index: map of decision's name to DecisionHub.
void addParentNode(DecisionNode *node)
Add a parent node.
unsigned int m_nodeCounter
Total number of nodes in the graph.
constexpr static const auto FAILURE
Definition: StatusCode.h:97
#define ON_VERBOSE
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202

◆ addEdgeToPrecTrace()

void concurrency::PrecedenceRulesGraph::addEdgeToPrecTrace ( const AlgorithmNode u,
const AlgorithmNode v 
)

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

Definition at line 651 of file PrecedenceRulesGraph.cpp.

651  {
652 
653  std::string u_name = u == nullptr ? "ENTRY" : u->name();
654  std::string v_name = v->name();
655 
657 
658  if ( !u ) {
659  auto itT = m_prec_trace_map.find( "ENTRY" );
660  if ( itT != m_prec_trace_map.end() ) {
661  source = itT->second;
662  } else {
663  source = boost::add_vertex( precedence::AlgoTraceProps( "ENTRY", -1, -1, -1.0 ), m_precTrace );
664  m_prec_trace_map["ENTRY"] = source;
665  }
666  } else {
667  auto itS = m_prec_trace_map.find( u_name );
668  if ( itS != m_prec_trace_map.end() ) {
669  source = itS->second;
670  } else {
671 
672  source =
673  boost::add_vertex( precedence::AlgoTraceProps( u_name, u->getAlgoIndex(), u->getRank(), -1 ), m_precTrace );
674  m_prec_trace_map[u_name] = source;
675  }
676  }
677 
679 
680  auto itP = m_prec_trace_map.find( v_name );
681  if ( itP != m_prec_trace_map.end() ) {
682  target = itP->second;
683  } else {
684 
685  target =
686  boost::add_vertex( precedence::AlgoTraceProps( v_name, v->getAlgoIndex(), v->getRank(), -1 ), m_precTrace );
687  m_prec_trace_map[v_name] = target;
688  }
689 
690  boost::add_edge( source, target, m_precTrace );
691 
692  ON_DEBUG debug() << u_name << "-->" << v_name << " precedence trait added" << endmsg;
693  }
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.
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
T find(T... args)
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202

◆ addHeadNode()

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 461 of file PrecedenceRulesGraph.cpp.

463  {
464 
465  auto itH = m_decisionNameToDecisionHubMap.find( headName );
466  if ( itH != m_decisionNameToDecisionHubMap.end() ) {
467  m_headNode = itH->second.get();
468  } else {
469  auto r = m_decisionNameToDecisionHubMap.emplace(
470  headName, std::make_unique<concurrency::DecisionNode>( *this, m_nodeCounter, headName, modeConcurrent,
471  modePromptDecision, modeOR, allPass, isInverted ) );
472  m_headNode = r.first->second.get();
473 
474  // Mirror the action above in the BGL-based graph
475  if ( m_enableAnalysis ) {
476  boost::add_vertex( DecisionHubProps( headName, m_nodeCounter, modeConcurrent, modePromptDecision, modeOR,
477  allPass, isInverted ),
478  m_PRGraph );
479  }
480 
481  ++m_nodeCounter;
482  }
483  }
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
DecisionNode * m_headNode
the head node of the control flow graph
std::unordered_map< std::string, std::unique_ptr< DecisionNode > > m_decisionNameToDecisionHubMap
Index: map of decision's name to DecisionHub.
unsigned int m_nodeCounter
Total number of nodes in the graph.

◆ buildDataDependenciesRealm()

StatusCode concurrency::PrecedenceRulesGraph::buildDataDependenciesRealm ( )

Build data dependency realm WITH data object nodes participating.

Definition at line 279 of file PrecedenceRulesGraph.cpp.

279  {
280 
281  StatusCode global_sc( StatusCode::SUCCESS, true );
282 
283  // Production of DataNodes by AlgorithmNodes (DataNodes are created here)
284  for ( auto& algo : m_algoNameToAlgoNodeMap ) {
285 
286  auto& outputs = m_algoNameToAlgoOutputsMap[algo.first];
287  for ( auto output : outputs ) {
288  const auto sc = addDataNode( output );
289  if ( !sc.isSuccess() ) {
290  error() << "Extra producer (" << algo.first << ") for DataObject @ " << output
291  << " has been detected: this is not allowed." << endmsg;
292  global_sc = sc;
293  }
294  auto dataNode = getDataNode( output );
295  dataNode->addProducerNode( algo.second.get() );
296  algo.second->addOutputDataNode( dataNode );
297 
298  // Mirror the action above in the BGL-based graph
299  if ( m_enableAnalysis ) boost::add_edge( node( algo.second->name() ), node( output.fullKey() ), m_PRGraph );
300  }
301  }
302 
303  // Consumption of DataNodes by AlgorithmNodes
304  for ( auto& algo : m_algoNameToAlgoNodeMap ) {
305 
306  for ( auto input : m_algoNameToAlgoInputsMap[algo.first] ) {
307 
308  auto itP = m_dataPathToDataNodeMap.find( input );
309 
310  DataNode* dataNode = ( itP != m_dataPathToDataNodeMap.end() ? getDataNode( input ) : nullptr );
311  if ( dataNode ) {
312  dataNode->addConsumerNode( algo.second.get() );
313  algo.second->addInputDataNode( dataNode );
314 
315  // Mirror the action above in the BGL-based graph
316  if ( m_enableAnalysis ) boost::add_edge( node( input.fullKey() ), node( algo.second->name() ), m_PRGraph );
317  }
318  }
319  }
320 
321  return global_sc;
322  }
std::unordered_map< std::string, DataObjIDColl > m_algoNameToAlgoInputsMap
Indexes: maps of algorithm's name to algorithm's inputs/outputs.
constexpr static const auto SUCCESS
Definition: StatusCode.h:96
StatusCode addDataNode(const DataObjID &dataPath)
Add DataNode that represents DataObject.
std::unordered_map< DataObjID, std::unique_ptr< DataNode >, DataObjID_Hasher > m_dataPathToDataNodeMap
Index: map of data path to DataNode.
std::unordered_map< std::string, std::unique_ptr< AlgorithmNode > > m_algoNameToAlgoNodeMap
Index: map of algorithm's name to AlgorithmNode.
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:61
std::unordered_map< std::string, DataObjIDColl > m_algoNameToAlgoOutputsMap
PRVertexDesc node(const std::string &) const
DataNode * getDataNode(const DataObjID &dataPath) const
Get DataNode by DataObject path using graph index.
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202

◆ dumpControlFlow() [1/2]

std::string concurrency::PrecedenceRulesGraph::dumpControlFlow ( ) const

Print out control flow of Algorithms and Sequences.

Definition at line 517 of file PrecedenceRulesGraph.cpp.

517  {
518  std::ostringstream ost;
519  dumpControlFlow( ost, m_headNode, 0 );
520  return ost.str();
521  }
DecisionNode * m_headNode
the head node of the control flow graph
std::string dumpControlFlow() const
Print out control flow of Algorithms and Sequences.
T str(T... args)

◆ dumpControlFlow() [2/2]

void concurrency::PrecedenceRulesGraph::dumpControlFlow ( std::ostringstream ost,
ControlFlowNode node,
const int &  indent 
) const

Definition at line 523 of file PrecedenceRulesGraph.cpp.

524  {
525  ost << std::string( indent * 2, ' ' );
526  DecisionNode* dn = dynamic_cast<DecisionNode*>( node );
527  AlgorithmNode* an = dynamic_cast<AlgorithmNode*>( node );
528  if ( dn != 0 ) {
529  if ( node != m_headNode ) {
530  ost << node->name() << " [Seq] ";
531  ost << ( ( dn->m_modeConcurrent ) ? " [Concurrent] " : " [Sequential] " );
532  ost << ( ( dn->m_modePromptDecision ) ? " [Prompt] " : "" );
533  ost << ( ( dn->m_modeOR ) ? " [OR] " : "" );
534  ost << ( ( dn->m_allPass ) ? " [PASS] " : "" );
535  ost << "\n";
536  }
537  for ( const auto& i : dn->getDaughters() ) dumpControlFlow( ost, i, indent + 1 );
538  } else if ( an != 0 ) {
539  ost << node->name() << " [Alg] ";
540  if ( an != 0 ) {
541  auto ar = an->getAlgorithm();
542  ost << " [n= " << ar->cardinality() << "]";
543  ost << ( ( !ar->isClonable() ) ? " [unclonable] " : "" );
544  }
545  ost << "\n";
546  }
547  }
STL class.
DecisionNode * m_headNode
the head node of the control flow graph
std::string dumpControlFlow() const
Print out control flow of Algorithms and Sequences.
PRVertexDesc node(const std::string &) const

◆ dumpDataFlow()

std::string concurrency::PrecedenceRulesGraph::dumpDataFlow ( ) const

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

Definition at line 550 of file PrecedenceRulesGraph.cpp.

550  {
551 
552  const char idt[] = " ";
553  std::ostringstream ost;
554 
555  ost << "\n" << idt << "====================================\n";
556  ost << idt << "Data origins and destinations:\n";
557  ost << idt << "====================================\n";
558 
559  for ( auto& pair : m_dataPathToDataNodeMap ) {
560 
561  for ( auto algoNode : pair.second->getProducers() ) ost << idt << " " << algoNode->name() << "\n";
562 
563  ost << idt << " V\n";
564  ost << idt << " o " << pair.first << "\n";
565  ost << idt << " V\n";
566 
567  for ( auto algoNode : pair.second->getConsumers() ) ost << idt << " " << algoNode->name() << "\n";
568 
569  ost << idt << "====================================\n";
570  }
571 
572  return ost.str();
573  }
std::unordered_map< DataObjID, std::unique_ptr< DataNode >, DataObjID_Hasher > m_dataPathToDataNodeMap
Index: map of data path to DataNode.
T str(T... args)

◆ dumpPrecRules()

void concurrency::PrecedenceRulesGraph::dumpPrecRules ( const boost::filesystem::path &  fileName,
const EventSlot slot 
)

dump to file the precedence rules

Definition at line 577 of file PrecedenceRulesGraph.cpp.

577  {
578  boost::filesystem::ofstream myfile;
579  myfile.open( fileName, std::ios::app );
580 
581  // Declare properties to dump
582  boost::dynamic_properties dp;
583 
584  dp.property( "Entity",
585  boost::make_transform_value_property_map(
586  []( const VariantVertexProps& v ) {
587  return std::visit( []( const auto& w ) { return boost::lexical_cast<std::string>( w ); }, v );
588  },
589  boost::get( boost::vertex_bundle, m_PRGraph ) ) );
590 
591  auto add_prop = [&]( auto name, auto&& vis ) {
592  dp.property( name, boost::make_transform_value_property_map(
593  [vis = std::forward<decltype( vis )>( vis )]( const VariantVertexProps& v ) {
594  return std::visit( vis, v );
595  },
596  boost::get( boost::vertex_bundle, m_PRGraph ) ) );
597  };
598 
599  add_prop( "Name", precedence::VertexName() );
600  add_prop( "Mode", precedence::GroupMode() );
601  add_prop( "Logic", precedence::GroupLogic() );
602  add_prop( "Decision Negation", precedence::DecisionNegation() );
603  add_prop( "Negative Decision Inversion", precedence::AllPass() );
604  add_prop( "Exit Policy", precedence::GroupExit() );
605  add_prop( "Operations", precedence::Operations() );
606  add_prop( "CF Decision", precedence::CFDecision( slot ) );
607  add_prop( "State", precedence::EntityState( slot, serviceLocator(), m_conditionsRealmEnabled ) );
608  add_prop( "Start Time (Epoch ns)", precedence::StartTime( slot, serviceLocator() ) );
609  add_prop( "End Time (Epoch ns)", precedence::EndTime( slot, serviceLocator() ) );
610  add_prop( "Runtime (ns)", precedence::Duration( slot, serviceLocator() ) );
611 
612  boost::write_graphml( myfile, m_PRGraph, dp );
613 
614  myfile.close();
615  }
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
auto get(const Handle &handle, const Algo &, const EventContext &) -> decltype(details::deref(handle.get()))
bool m_conditionsRealmEnabled
Enable conditions realm of precedence rules.
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
const std::string & name() const override
Retrieve name of the service.
T forward(T... args)
std::variant< AlgoProps, DecisionHubProps, DataProps, CondDataProps > VariantVertexProps

◆ dumpPrecTrace()

void concurrency::PrecedenceRulesGraph::dumpPrecTrace ( const boost::filesystem::path &  fileName)

dump to file the precedence trace

Definition at line 618 of file PrecedenceRulesGraph.cpp.

618  {
619  boost::filesystem::ofstream myfile;
620  myfile.open( fileName, std::ios::app );
621 
622  // Fill runtimes (as this could not be done on the fly during trace assembling)
623  SmartIF<ITimelineSvc> timelineSvc = m_svcLocator->service<ITimelineSvc>( "TimelineSvc", false );
624  if ( !timelineSvc.isValid() ) {
625  warning() << "Failed to get the TimelineSvc, timing will not be added to "
626  << "the task precedence trace dump" << endmsg;
627  } else {
628 
629  for ( auto vp = vertices( m_precTrace ); vp.first != vp.second; ++vp.first ) {
630  TimelineEvent te{};
631  te.algorithm = m_precTrace[*vp.first].m_name;
632  timelineSvc->getTimelineEvent( te );
633  int runtime = std::chrono::duration_cast<std::chrono::microseconds>( te.end - te.start ).count();
634  m_precTrace[*vp.first].m_runtime = runtime;
635  }
636  }
637 
638  // Declare properties to dump
639  boost::dynamic_properties dp;
640  using boost::get;
642  dp.property( "Name", get( &AlgoTraceProps::m_name, m_precTrace ) );
643  dp.property( "Rank", get( &AlgoTraceProps::m_rank, m_precTrace ) );
644  dp.property( "Runtime", get( &AlgoTraceProps::m_runtime, m_precTrace ) );
645 
646  boost::write_graphml( myfile, m_precTrace, dp );
647 
648  myfile.close();
649  }
precedence::PrecTrace m_precTrace
facilities for algorithm precedence tracing
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
bool isValid() const
Allow for check if smart pointer is valid.
Definition: SmartIF.h:72
virtual bool getTimelineEvent(TimelineEvent &) const =0
std::string algorithm
Definition: ITimelineSvc.h:31
auto get(const Handle &handle, const Algo &, const EventContext &) -> decltype(details::deref(handle.get()))
StatusCode service(const Gaudi::Utils::TypeNameString &name, T *&svc, bool createIf=true)
Templated method to access a service by name.
Definition: ISvcLocator.h:86
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202
SmartIF< ISvcLocator > m_svcLocator
Service locator (needed to access the MessageSvc)

◆ enableAnalysis()

void concurrency::PrecedenceRulesGraph::enableAnalysis ( )
inline

BGL-based facilities.

Definition at line 694 of file PrecedenceRulesGraph.h.

◆ getAlgorithmNode()

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

Get the AlgorithmNode from by algorithm name using graph index.

Definition at line 664 of file PrecedenceRulesGraph.h.

664  {
665  return m_algoNameToAlgoNodeMap.at( algoName ).get();
666  }
std::unordered_map< std::string, std::unique_ptr< AlgorithmNode > > m_algoNameToAlgoNodeMap
Index: map of algorithm's name to AlgorithmNode.

◆ getControlFlowNodeCounter()

unsigned int concurrency::PrecedenceRulesGraph::getControlFlowNodeCounter ( ) const
inline

Get total number of control flow graph nodes.

Definition at line 672 of file PrecedenceRulesGraph.h.

672 { return m_nodeCounter; }
unsigned int m_nodeCounter
Total number of nodes in the graph.

◆ getDataNode()

DataNode* concurrency::PrecedenceRulesGraph::getDataNode ( const DataObjID dataPath) const
inline

Get DataNode by DataObject path using graph index.

Definition at line 649 of file PrecedenceRulesGraph.h.

649 { return m_dataPathToDataNodeMap.at( dataPath ).get(); }
std::unordered_map< DataObjID, std::unique_ptr< DataNode >, DataObjID_Hasher > m_dataPathToDataNodeMap
Index: map of data path to DataNode.

◆ getHeadNode()

DecisionNode* concurrency::PrecedenceRulesGraph::getHeadNode ( ) const
inline

Get head node.

Definition at line 659 of file PrecedenceRulesGraph.h.

659 { return m_headNode; };
DecisionNode * m_headNode
the head node of the control flow graph

◆ initialize()

StatusCode concurrency::PrecedenceRulesGraph::initialize ( )

Initialize graph.

Definition at line 218 of file PrecedenceRulesGraph.cpp.

218  {
219  if ( serviceLocator()->existsService( "CondSvc" ) ) {
220  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc" )};
221  if ( condSvc.isValid() ) {
222  info() << "CondSvc found. DF precedence rules will be augmented with 'Conditions'" << endmsg;
224  }
225  }
226 
227  // Detach condition algorithms from the CF realm
228  if ( m_conditionsRealmEnabled ) {
229  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc", false )};
230  auto& condAlgs = condSvc->condAlgs();
231  for ( const auto algo : condAlgs ) {
232  auto itA = m_algoNameToAlgoNodeMap.find( algo->name() );
233  if ( itA != m_algoNameToAlgoNodeMap.end() ) {
234  concurrency::AlgorithmNode* algoNode = itA->second.get();
235  debug() << "Detaching condition algorithm '" << algo->name() << "' from the CF realm.." << endmsg;
236  for ( auto parent : algoNode->getParentDecisionHubs() ) {
237  parent->m_children.erase( std::remove( parent->m_children.begin(), parent->m_children.end(), algoNode ),
238  parent->m_children.end() );
239  // clean up also auxiliary BGL-based graph of precedence rules
240  if ( m_enableAnalysis ) boost::remove_edge( node( algoNode->name() ), node( parent->name() ), m_PRGraph );
241  }
242  algoNode->m_parents.clear();
243 
244  } else {
245  warning() << "Algorithm '" << algo->name() << "' is not registered in the graph" << endmsg;
246  }
247  }
248  }
249 
251 
252  if ( !sc.isSuccess() ) error() << "Could not build the data dependency realm." << endmsg;
253 
254  ON_DEBUG debug() << dumpDataFlow() << endmsg;
255 
256  return sc;
257  }
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
const std::vector< DecisionNode * > & getParentDecisionHubs() const
Get all parent decision hubs.
MsgStream & warning() const
shortcut for the method msgStream(MSG::WARNING)
std::vector< DecisionNode * > m_parents
Control flow parents of an AlgorithmNode (DecisionNodes)
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
#define ON_DEBUG
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:86
std::unordered_map< std::string, std::unique_ptr< AlgorithmNode > > m_algoNameToAlgoNodeMap
Index: map of algorithm's name to AlgorithmNode.
bool m_conditionsRealmEnabled
Enable conditions realm of precedence rules.
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:61
MsgStream & debug() const
shortcut for the method msgStream(MSG::DEBUG)
bool isSuccess() const
Definition: StatusCode.h:361
PRVertexDesc node(const std::string &) const
std::string dumpDataFlow() const
Print out all data origins and destinations, as reflected in the EF graph.
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:202
const std::string & name() const
Get node name.

◆ name()

const std::string& concurrency::PrecedenceRulesGraph::name ( ) const
inlineoverride

Retrieve name of the service.

Definition at line 678 of file PrecedenceRulesGraph.h.

678 { return m_name; }

◆ node()

PRVertexDesc concurrency::PrecedenceRulesGraph::node ( const std::string name) const

Definition at line 486 of file PrecedenceRulesGraph.cpp.

486  {
487  auto vp = vertices( m_PRGraph );
488  auto i = std::find_if( vp.first, vp.second, [&]( const PRVertexDesc& v ) {
489  return std::visit( precedence::VertexName(), m_PRGraph[v] ) == name;
490  } );
491  return i != vp.second ? *i : PRVertexDesc{};
492  }
boost::graph_traits< PRGraph >::vertex_descriptor PRVertexDesc
precedence::PRGraph m_PRGraph
BGL-based graph of precedence rules.
T find_if(T... args)

◆ printState()

void concurrency::PrecedenceRulesGraph::printState ( std::stringstream output,
EventSlot slot,
const unsigned int &  recursionLevel 
) const
inline

Print a string representing the control flow state.

Definition at line 683 of file PrecedenceRulesGraph.h.

683  {
684  if ( slot.parentSlot ) {
685  // Start at sub-slot entry point
686  m_decisionNameToDecisionHubMap.at( slot.entryPoint )->printState( output, slot, recursionLevel );
687  } else {
688  // Start at the head node for whole-event slots
689  m_headNode->printState( output, slot, recursionLevel );
690  }
691  }
std::string entryPoint
Event Views bookkeeping (TODO: optimize view bookkeeping)
Definition: EventSlot.h:94
DecisionNode * m_headNode
the head node of the control flow graph
std::unordered_map< std::string, std::unique_ptr< DecisionNode > > m_decisionNameToDecisionHubMap
Index: map of decision's name to DecisionHub.
void printState(std::stringstream &output, EventSlot &slot, const unsigned int &recursionLevel) const override
Print a string representing the control flow state.
EventSlot * parentSlot
Pointer to parent slot (null for top level)
Definition: EventSlot.h:96

◆ rankAlgorithms()

void concurrency::PrecedenceRulesGraph::rankAlgorithms ( IGraphVisitor ranker) const

Rank Algorithm nodes by the number of data outputs.

Definition at line 507 of file PrecedenceRulesGraph.cpp.

507  {
508 
509  info() << "Starting ranking by data outputs .. " << endmsg;
510  for ( auto& pair : m_algoNameToAlgoNodeMap ) {
511  ON_DEBUG debug() << " Ranking " << pair.first << "... " << endmsg;
512  pair.second->accept( ranker );
513  ON_DEBUG debug() << " ... rank of " << pair.first << ": " << pair.second->getRank() << endmsg;
514  }
515  }
MsgStream & info() const
shortcut for the method msgStream(MSG::INFO)
#define ON_DEBUG
std::unordered_map< std::string, std::unique_ptr< AlgorithmNode > > m_algoNameToAlgoNodeMap
Index: map of algorithm's name to AlgorithmNode.
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:202

◆ registerIODataObjects()

void concurrency::PrecedenceRulesGraph::registerIODataObjects ( const Gaudi::Algorithm algo)

Register algorithm in the Data Dependency index.

Definition at line 260 of file PrecedenceRulesGraph.cpp.

260  {
261 
262  const std::string& algoName = algo->name();
263 
264  m_algoNameToAlgoInputsMap[algoName] = algo->inputDataObjs();
265  m_algoNameToAlgoOutputsMap[algoName] = algo->outputDataObjs();
266 
267  ON_VERBOSE {
268  verbose() << " Inputs of " << algoName << ": ";
269  for ( auto tag : algo->inputDataObjs() ) verbose() << tag << " | ";
270  verbose() << endmsg;
271 
272  verbose() << " Outputs of " << algoName << ": ";
273  for ( auto tag : algo->outputDataObjs() ) verbose() << tag << " | ";
274  verbose() << endmsg;
275  }
276  }
std::unordered_map< std::string, DataObjIDColl > m_algoNameToAlgoInputsMap
Indexes: maps of algorithm's name to algorithm's inputs/outputs.
STL class.
MsgStream & verbose() const
shortcut for the method msgStream(MSG::VERBOSE)
std::unordered_map< std::string, DataObjIDColl > m_algoNameToAlgoOutputsMap
const DataObjIDColl & outputDataObjs() const override
#define ON_VERBOSE
const DataObjIDColl & inputDataObjs() const override
MsgStream & endmsg(MsgStream &s)
MsgStream Modifier: endmsg. Calls the output method of the MsgStream.
Definition: MsgStream.h:202
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:556

◆ serviceLocator()

SmartIF<ISvcLocator>& concurrency::PrecedenceRulesGraph::serviceLocator ( ) const
inlineoverride

Retrieve pointer to service locator.

Definition at line 680 of file PrecedenceRulesGraph.h.

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

Member Data Documentation

◆ m_algoCounter

unsigned int concurrency::PrecedenceRulesGraph::m_algoCounter = 0
private

Total number of algorithm nodes in the graph.

Definition at line 726 of file PrecedenceRulesGraph.h.

◆ m_algoNameToAlgoInputsMap

std::unordered_map<std::string, DataObjIDColl> concurrency::PrecedenceRulesGraph::m_algoNameToAlgoInputsMap
private

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

Definition at line 720 of file PrecedenceRulesGraph.h.

◆ m_algoNameToAlgoNodeMap

std::unordered_map<std::string, std::unique_ptr<AlgorithmNode> > concurrency::PrecedenceRulesGraph::m_algoNameToAlgoNodeMap
private

Index: map of algorithm's name to AlgorithmNode.

Definition at line 714 of file PrecedenceRulesGraph.h.

◆ m_algoNameToAlgoOutputsMap

std::unordered_map<std::string, DataObjIDColl> concurrency::PrecedenceRulesGraph::m_algoNameToAlgoOutputsMap
private

Definition at line 721 of file PrecedenceRulesGraph.h.

◆ m_conditionsRealmEnabled

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

Enable conditions realm of precedence rules.

Definition at line 740 of file PrecedenceRulesGraph.h.

◆ m_dataPathToDataNodeMap

std::unordered_map<DataObjID, std::unique_ptr<DataNode>, DataObjID_Hasher> concurrency::PrecedenceRulesGraph::m_dataPathToDataNodeMap
private

Index: map of data path to DataNode.

Definition at line 718 of file PrecedenceRulesGraph.h.

◆ m_decisionNameToDecisionHubMap

std::unordered_map<std::string, std::unique_ptr<DecisionNode> > concurrency::PrecedenceRulesGraph::m_decisionNameToDecisionHubMap
private

Index: map of decision's name to DecisionHub.

Definition at line 716 of file PrecedenceRulesGraph.h.

◆ m_enableAnalysis

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

Definition at line 735 of file PrecedenceRulesGraph.h.

◆ m_headNode

DecisionNode* concurrency::PrecedenceRulesGraph::m_headNode = nullptr
private

the head node of the control flow graph

Definition at line 712 of file PrecedenceRulesGraph.h.

◆ m_name

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

Definition at line 730 of file PrecedenceRulesGraph.h.

◆ m_nodeCounter

unsigned int concurrency::PrecedenceRulesGraph::m_nodeCounter = 0
private

Total number of nodes in the graph.

Definition at line 724 of file PrecedenceRulesGraph.h.

◆ m_prec_trace_map

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

Definition at line 734 of file PrecedenceRulesGraph.h.

◆ m_precTrace

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

facilities for algorithm precedence tracing

Definition at line 733 of file PrecedenceRulesGraph.h.

◆ m_PRGraph

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

BGL-based graph of precedence rules.

Definition at line 737 of file PrecedenceRulesGraph.h.

◆ m_svcLocator

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

Service locator (needed to access the MessageSvc)

Definition at line 729 of file PrecedenceRulesGraph.h.


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