The Gaudi Framework  v33r1 (b1225454)
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...
 
- 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 496 of file PrecedenceRulesGraph.cpp.

496  {
497  // iterate through Algorithm nodes
498  for ( auto& pr : m_algoNameToAlgoNodeMap ) pr.second->accept( visitor );
499 
500  // iterate through DecisionHub nodes
501  for ( auto& pr : m_decisionNameToDecisionHubMap ) pr.second->accept( visitor );
502 
503  // iterate through Data [and Conditions] nodes
504  for ( auto& pr : m_dataPathToDataNodeMap ) pr.second->accept( visitor );
505  }
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 326 of file PrecedenceRulesGraph.cpp.

327  {
328 
330 
332 
333  auto& algoName = algo->name();
334 
335  concurrency::AlgorithmNode* algoNode;
336 
337  auto itA = m_algoNameToAlgoNodeMap.find( algoName );
338  if ( itA != m_algoNameToAlgoNodeMap.end() ) {
339  algoNode = itA->second.get();
340  } else {
341  auto r = m_algoNameToAlgoNodeMap.emplace(
342  algoName, std::make_unique<concurrency::AlgorithmNode>( *this, algo, m_nodeCounter, m_algoCounter, inverted,
343  allPass ) );
344  algoNode = r.first->second.get();
345 
346  // Mirror AlgorithmNode in the BGL-based graph
347  if ( m_enableAnalysis ) {
348  boost::add_vertex( AlgoProps( algo, m_nodeCounter, m_algoCounter, inverted, allPass ), m_PRGraph );
349  }
350  ++m_nodeCounter;
351  ++m_algoCounter;
352  ON_VERBOSE verbose() << "AlgorithmNode '" << algoName << "' added @ " << algoNode << endmsg;
353 
354  registerIODataObjects( algo );
355  }
356 
358  auto itP = m_decisionNameToDecisionHubMap.find( parentName );
359  if ( itP != m_decisionNameToDecisionHubMap.end() ) {
360  auto parentNode = itP->second.get();
361 
362  parentNode->addDaughterNode( algoNode );
363  algoNode->addParentNode( parentNode );
364 
365  // Mirror algorithm to CF parent relationship in the BGL-based graph
366  if ( m_enableAnalysis ) boost::add_edge( node( algo->name() ), node( parentName ), m_PRGraph );
367 
368  ON_VERBOSE verbose() << "Attached AlgorithmNode '" << algo->name() << "' to parent DecisionNode '" << parentName
369  << "'" << endmsg;
370  } else {
371  sc = StatusCode::FAILURE;
372  error() << "Parent DecisionNode '" << parentName << "' was not found" << endmsg;
373  }
374 
375  return sc;
376  }
constexpr static const auto SUCCESS
Definition: StatusCode.h:100
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:101
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 379 of file PrecedenceRulesGraph.cpp.

379  {
380 
381  auto itD = m_dataPathToDataNodeMap.find( dataPath );
382  if ( itD != m_dataPathToDataNodeMap.end() ) return StatusCode::SUCCESS;
383 
385  if ( !m_conditionsRealmEnabled ) {
386  dataNode = std::make_unique<concurrency::DataNode>( *this, dataPath );
387  ON_VERBOSE verbose() << " DataNode " << dataPath << " added @ " << dataNode.get() << endmsg;
388  // Mirror the action above in the BGL-based graph
389  if ( m_enableAnalysis ) boost::add_vertex( DataProps( dataPath ), m_PRGraph );
390  } else {
391  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc", false )};
392  if ( condSvc->isRegistered( dataPath ) ) {
393  dataNode = std::make_unique<concurrency::ConditionNode>( *this, dataPath, condSvc );
394  ON_VERBOSE verbose() << " ConditionNode " << dataPath << " added @ " << dataNode.get() << endmsg;
395  // Mirror the action above in the BGL-based graph
396  if ( m_enableAnalysis ) boost::add_vertex( CondDataProps( dataPath ), m_PRGraph );
397  } else {
398  dataNode = std::make_unique<concurrency::DataNode>( *this, dataPath );
399  ON_VERBOSE verbose() << " DataNode " << dataPath << " added @ " << dataNode.get() << endmsg;
400  // Mirror the action above in the BGL-based graph
401  if ( m_enableAnalysis ) boost::add_vertex( DataProps( dataPath ), m_PRGraph );
402  }
403  }
404  m_dataPathToDataNodeMap.emplace( dataPath, std::move( dataNode ) );
405  return StatusCode::SUCCESS;
406  }
SmartIF< ISvcLocator > & serviceLocator() const override
Retrieve pointer to service locator.
constexpr static const auto SUCCESS
Definition: StatusCode.h:100
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 409 of file PrecedenceRulesGraph.cpp.

411  {
412 
414 
416 
417  auto& decisionHubName = decisionHubAlgo->name();
418 
419  auto itA = m_decisionNameToDecisionHubMap.find( decisionHubName );
420  concurrency::DecisionNode* decisionHubNode;
421  if ( itA != m_decisionNameToDecisionHubMap.end() ) {
422  decisionHubNode = itA->second.get();
423  } else {
424  auto r = m_decisionNameToDecisionHubMap.emplace(
425  decisionHubName,
426  std::make_unique<concurrency::DecisionNode>( *this, m_nodeCounter, decisionHubName, modeConcurrent,
427  modePromptDecision, modeOR, allPass, isInverted ) );
428  decisionHubNode = r.first->second.get();
429  // Mirror DecisionNode in the BGL-based graph
430  if ( m_enableAnalysis ) {
431  boost::add_vertex( DecisionHubProps( decisionHubName, m_nodeCounter, modeConcurrent, modePromptDecision, modeOR,
432  allPass, isInverted ),
433  m_PRGraph );
434  }
435 
436  ++m_nodeCounter;
437 
438  ON_VERBOSE verbose() << "DecisionNode '" << decisionHubName << "' added @ " << decisionHubNode << endmsg;
439  }
440 
442  auto itP = m_decisionNameToDecisionHubMap.find( parentName );
443  if ( itP != m_decisionNameToDecisionHubMap.end() ) {
444  auto parentNode = itP->second.get();
445  parentNode->addDaughterNode( decisionHubNode );
446  decisionHubNode->addParentNode( parentNode );
447 
448  // Mirror DecisionNode-to-DecisionNode relationship in the BGL-based graph
449  if ( m_enableAnalysis ) boost::add_edge( node( decisionHubName ), node( parentName ), m_PRGraph );
450 
451  ON_VERBOSE verbose() << "Attached DecisionNode '" << decisionHubName << "' to parent DecisionNode '" << parentName
452  << "'" << endmsg;
453  } else {
454  sc = StatusCode::FAILURE;
455  error() << "Parent DecisionNode '" << parentName << "' was not found" << endmsg;
456  }
457 
458  return sc;
459  }
constexpr static const auto SUCCESS
Definition: StatusCode.h:100
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:101
#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 652 of file PrecedenceRulesGraph.cpp.

652  {
653 
654  std::string u_name = u == nullptr ? "ENTRY" : u->name();
655  std::string v_name = v->name();
656 
658 
659  if ( !u ) {
660  auto itT = m_prec_trace_map.find( "ENTRY" );
661  if ( itT != m_prec_trace_map.end() ) {
662  source = itT->second;
663  } else {
664  source = boost::add_vertex( precedence::AlgoTraceProps( "ENTRY", -1, -1, -1.0 ), m_precTrace );
665  m_prec_trace_map["ENTRY"] = source;
666  }
667  } else {
668  auto itS = m_prec_trace_map.find( u_name );
669  if ( itS != m_prec_trace_map.end() ) {
670  source = itS->second;
671  } else {
672 
673  source =
674  boost::add_vertex( precedence::AlgoTraceProps( u_name, u->getAlgoIndex(), u->getRank(), -1 ), m_precTrace );
675  m_prec_trace_map[u_name] = source;
676  }
677  }
678 
680 
681  auto itP = m_prec_trace_map.find( v_name );
682  if ( itP != m_prec_trace_map.end() ) {
683  target = itP->second;
684  } else {
685 
686  target =
687  boost::add_vertex( precedence::AlgoTraceProps( v_name, v->getAlgoIndex(), v->getRank(), -1 ), m_precTrace );
688  m_prec_trace_map[v_name] = target;
689  }
690 
691  boost::add_edge( source, target, m_precTrace );
692 
693  ON_DEBUG debug() << u_name << "-->" << v_name << " precedence trait added" << endmsg;
694  }
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 462 of file PrecedenceRulesGraph.cpp.

464  {
465 
466  auto itH = m_decisionNameToDecisionHubMap.find( headName );
467  if ( itH != m_decisionNameToDecisionHubMap.end() ) {
468  m_headNode = itH->second.get();
469  } else {
470  auto r = m_decisionNameToDecisionHubMap.emplace(
471  headName, std::make_unique<concurrency::DecisionNode>( *this, m_nodeCounter, headName, modeConcurrent,
472  modePromptDecision, modeOR, allPass, isInverted ) );
473  m_headNode = r.first->second.get();
474 
475  // Mirror the action above in the BGL-based graph
476  if ( m_enableAnalysis ) {
477  boost::add_vertex( DecisionHubProps( headName, m_nodeCounter, modeConcurrent, modePromptDecision, modeOR,
478  allPass, isInverted ),
479  m_PRGraph );
480  }
481 
482  ++m_nodeCounter;
483  }
484  }
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 280 of file PrecedenceRulesGraph.cpp.

280  {
281 
282  StatusCode global_sc( StatusCode::SUCCESS, true );
283 
284  // Production of DataNodes by AlgorithmNodes (DataNodes are created here)
285  for ( auto& algo : m_algoNameToAlgoNodeMap ) {
286 
287  auto& outputs = m_algoNameToAlgoOutputsMap[algo.first];
288  for ( auto output : outputs ) {
289  const auto sc = addDataNode( output );
290  if ( !sc.isSuccess() ) {
291  error() << "Extra producer (" << algo.first << ") for DataObject @ " << output
292  << " has been detected: this is not allowed." << endmsg;
293  global_sc = sc;
294  }
295  auto dataNode = getDataNode( output );
296  dataNode->addProducerNode( algo.second.get() );
297  algo.second->addOutputDataNode( dataNode );
298 
299  // Mirror the action above in the BGL-based graph
300  if ( m_enableAnalysis ) boost::add_edge( node( algo.second->name() ), node( output.fullKey() ), m_PRGraph );
301  }
302  }
303 
304  // Consumption of DataNodes by AlgorithmNodes
305  for ( auto& algo : m_algoNameToAlgoNodeMap ) {
306 
307  for ( auto input : m_algoNameToAlgoInputsMap[algo.first] ) {
308 
309  auto itP = m_dataPathToDataNodeMap.find( input );
310 
311  DataNode* dataNode = ( itP != m_dataPathToDataNodeMap.end() ? getDataNode( input ) : nullptr );
312  if ( dataNode ) {
313  dataNode->addConsumerNode( algo.second.get() );
314  algo.second->addInputDataNode( dataNode );
315 
316  // Mirror the action above in the BGL-based graph
317  if ( m_enableAnalysis ) boost::add_edge( node( input.fullKey() ), node( algo.second->name() ), m_PRGraph );
318  }
319  }
320  }
321 
322  return global_sc;
323  }
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:100
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 518 of file PrecedenceRulesGraph.cpp.

518  {
519  std::ostringstream ost;
520  dumpControlFlow( ost, m_headNode, 0 );
521  return ost.str();
522  }
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 524 of file PrecedenceRulesGraph.cpp.

525  {
526  ost << std::string( indent * 2, ' ' );
527  DecisionNode* dn = dynamic_cast<DecisionNode*>( node );
528  AlgorithmNode* an = dynamic_cast<AlgorithmNode*>( node );
529  if ( dn != 0 ) {
530  if ( node != m_headNode ) {
531  ost << node->name() << " [Seq] ";
532  ost << ( ( dn->m_modeConcurrent ) ? " [Concurrent] " : " [Sequential] " );
533  ost << ( ( dn->m_modePromptDecision ) ? " [Prompt] " : "" );
534  ost << ( ( dn->m_modeOR ) ? " [OR] " : "" );
535  ost << ( ( dn->m_allPass ) ? " [PASS] " : "" );
536  ost << "\n";
537  }
538  for ( const auto& i : dn->getDaughters() ) dumpControlFlow( ost, i, indent + 1 );
539  } else if ( an != 0 ) {
540  ost << node->name() << " [Alg] ";
541  if ( an != 0 ) {
542  auto ar = an->getAlgorithm();
543  ost << " [n= " << ar->cardinality() << "]";
544  ost << ( ( !ar->isClonable() ) ? " [unclonable] " : "" );
545  }
546  ost << "\n";
547  }
548  }
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 551 of file PrecedenceRulesGraph.cpp.

551  {
552 
553  const char idt[] = " ";
554  std::ostringstream ost;
555 
556  ost << "\n" << idt << "====================================\n";
557  ost << idt << "Data origins and destinations:\n";
558  ost << idt << "====================================\n";
559 
560  for ( auto& pair : m_dataPathToDataNodeMap ) {
561 
562  for ( auto algoNode : pair.second->getProducers() ) ost << idt << " " << algoNode->name() << "\n";
563 
564  ost << idt << " V\n";
565  ost << idt << " o " << pair.first << "\n";
566  ost << idt << " V\n";
567 
568  for ( auto algoNode : pair.second->getConsumers() ) ost << idt << " " << algoNode->name() << "\n";
569 
570  ost << idt << "====================================\n";
571  }
572 
573  return ost.str();
574  }
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 578 of file PrecedenceRulesGraph.cpp.

578  {
579  boost::filesystem::ofstream myfile;
580  myfile.open( fileName, std::ios::app );
581 
582  // Declare properties to dump
583  boost::dynamic_properties dp;
584 
585  dp.property( "Entity",
586  boost::make_transform_value_property_map(
587  []( const VariantVertexProps& v ) {
588  return std::visit( []( const auto& w ) { return boost::lexical_cast<std::string>( w ); }, v );
589  },
590  boost::get( boost::vertex_bundle, m_PRGraph ) ) );
591 
592  auto add_prop = [&]( auto name, auto&& vis ) {
593  dp.property( name, boost::make_transform_value_property_map(
594  [vis = std::forward<decltype( vis )>( vis )]( const VariantVertexProps& v ) {
595  return std::visit( vis, v );
596  },
597  boost::get( boost::vertex_bundle, m_PRGraph ) ) );
598  };
599 
600  add_prop( "Name", precedence::VertexName() );
601  add_prop( "Mode", precedence::GroupMode() );
602  add_prop( "Logic", precedence::GroupLogic() );
603  add_prop( "Decision Negation", precedence::DecisionNegation() );
604  add_prop( "Negative Decision Inversion", precedence::AllPass() );
605  add_prop( "Exit Policy", precedence::GroupExit() );
606  add_prop( "Operations", precedence::Operations() );
607  add_prop( "CF Decision", precedence::CFDecision( slot ) );
608  add_prop( "State", precedence::EntityState( slot, serviceLocator(), m_conditionsRealmEnabled ) );
609  add_prop( "Start Time (Epoch ns)", precedence::StartTime( slot, serviceLocator() ) );
610  add_prop( "End Time (Epoch ns)", precedence::EndTime( slot, serviceLocator() ) );
611  add_prop( "Runtime (ns)", precedence::Duration( slot, serviceLocator() ) );
612 
613  boost::write_graphml( myfile, m_PRGraph, dp );
614 
615  myfile.close();
616  }
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 619 of file PrecedenceRulesGraph.cpp.

619  {
620  boost::filesystem::ofstream myfile;
621  myfile.open( fileName, std::ios::app );
622 
623  // Fill runtimes (as this could not be done on the fly during trace assembling)
624  SmartIF<ITimelineSvc> timelineSvc = m_svcLocator->service<ITimelineSvc>( "TimelineSvc", false );
625  if ( !timelineSvc.isValid() ) {
626  warning() << "Failed to get the TimelineSvc, timing will not be added to "
627  << "the task precedence trace dump" << endmsg;
628  } else {
629 
630  for ( auto vp = vertices( m_precTrace ); vp.first != vp.second; ++vp.first ) {
631  TimelineEvent te{};
632  te.algorithm = m_precTrace[*vp.first].m_name;
633  timelineSvc->getTimelineEvent( te );
634  int runtime = std::chrono::duration_cast<std::chrono::microseconds>( te.end - te.start ).count();
635  m_precTrace[*vp.first].m_runtime = runtime;
636  }
637  }
638 
639  // Declare properties to dump
640  boost::dynamic_properties dp;
641  using boost::get;
643  dp.property( "Name", get( &AlgoTraceProps::m_name, m_precTrace ) );
644  dp.property( "Rank", get( &AlgoTraceProps::m_rank, m_precTrace ) );
645  dp.property( "Runtime", get( &AlgoTraceProps::m_runtime, m_precTrace ) );
646 
647  boost::write_graphml( myfile, m_precTrace, dp );
648 
649  myfile.close();
650  }
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 219 of file PrecedenceRulesGraph.cpp.

219  {
220  if ( serviceLocator()->existsService( "CondSvc" ) ) {
221  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc" )};
222  if ( condSvc.isValid() ) {
223  info() << "CondSvc found. DF precedence rules will be augmented with 'Conditions'" << endmsg;
225  }
226  }
227 
228  // Detach condition algorithms from the CF realm
229  if ( m_conditionsRealmEnabled ) {
230  SmartIF<ICondSvc> condSvc{serviceLocator()->service( "CondSvc", false )};
231  auto& condAlgs = condSvc->condAlgs();
232  for ( const auto algo : condAlgs ) {
233  auto itA = m_algoNameToAlgoNodeMap.find( algo->name() );
234  if ( itA != m_algoNameToAlgoNodeMap.end() ) {
235  concurrency::AlgorithmNode* algoNode = itA->second.get();
236  debug() << "Detaching condition algorithm '" << algo->name() << "' from the CF realm.." << endmsg;
237  for ( auto parent : algoNode->getParentDecisionHubs() ) {
238  parent->m_children.erase( std::remove( parent->m_children.begin(), parent->m_children.end(), algoNode ),
239  parent->m_children.end() );
240  // clean up also auxiliary BGL-based graph of precedence rules
241  if ( m_enableAnalysis ) boost::remove_edge( node( algoNode->name() ), node( parent->name() ), m_PRGraph );
242  }
243  algoNode->m_parents.clear();
244 
245  } else {
246  warning() << "Algorithm '" << algo->name() << "' is not registered in the graph" << endmsg;
247  }
248  }
249  }
250 
252 
253  if ( !sc.isSuccess() ) error() << "Could not build the data dependency realm." << endmsg;
254 
255  ON_DEBUG debug() << dumpDataFlow() << endmsg;
256 
257  return sc;
258  }
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:365
PRVertexDesc node(const std::string &) const
const Gaudi::Algorithm & parent
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.
const std::string & name() const override
The identifying name of the algorithm object.
Definition: Algorithm.cpp:549

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

487  {
488  auto vp = vertices( m_PRGraph );
489  auto i = std::find_if( vp.first, vp.second, [&]( const PRVertexDesc& v ) {
490  return std::visit( precedence::VertexName(), m_PRGraph[v] ) == name;
491  } );
492  return i != vp.second ? *i : PRVertexDesc{};
493  }
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 508 of file PrecedenceRulesGraph.cpp.

508  {
509 
510  info() << "Starting ranking by data outputs .. " << endmsg;
511  for ( auto& pair : m_algoNameToAlgoNodeMap ) {
512  ON_DEBUG debug() << " Ranking " << pair.first << "... " << endmsg;
513  pair.second->accept( ranker );
514  ON_DEBUG debug() << " ... rank of " << pair.first << ": " << pair.second->getRank() << endmsg;
515  }
516  }
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 261 of file PrecedenceRulesGraph.cpp.

261  {
262 
263  const std::string& algoName = algo->name();
264 
265  m_algoNameToAlgoInputsMap[algoName] = algo->inputDataObjs();
266  m_algoNameToAlgoOutputsMap[algoName] = algo->outputDataObjs();
267 
268  ON_VERBOSE {
269  verbose() << " Inputs of " << algoName << ": ";
270  for ( auto tag : algo->inputDataObjs() ) verbose() << tag << " | ";
271  verbose() << endmsg;
272 
273  verbose() << " Outputs of " << algoName << ": ";
274  for ( auto tag : algo->outputDataObjs() ) verbose() << tag << " | ";
275  verbose() << endmsg;
276  }
277  }
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:549

◆ 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: