The Gaudi Framework  master (7cfdc4e8)
All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Friends Macros Modules Pages Concepts
Rankers.h
Go to the documentation of this file.
1/***********************************************************************************\
2* (c) Copyright 1998-2025 CERN for the benefit of the LHCb and ATLAS collaborations *
3* *
4* This software is distributed under the terms of the Apache version 2 licence, *
5* copied verbatim in the file "LICENSE". *
6* *
7* In applying this licence, CERN does not waive the privileges and immunities *
8* granted to it by virtue of its status as an Intergovernmental Organization *
9* or submit itself to any jurisdiction. *
10\***********************************************************************************/
11#pragma once
12
14#include "IGraphVisitor.h"
15
16namespace concurrency {
17
18 //--------------------------------------------------------------------------
20 public:
22
23 bool visit( AlgorithmNode& ) override;
24 };
25
26 //--------------------------------------------------------------------------
28 public:
30
31 bool visit( AlgorithmNode& ) override;
32 void reset() override { m_nodesSucceeded = 0; }
33
34 void runThroughAdjacents( boost::graph_traits<precedence::PrecTrace>::vertex_descriptor, precedence::PrecTrace );
35
37 };
38
39 //--------------------------------------------------------------------------
41 public:
43
44 bool visit( AlgorithmNode& ) override;
45 };
46
47 //--------------------------------------------------------------------------
49 public:
51
52 bool visit( AlgorithmNode& ) override;
53 };
54
55 //--------------------------------------------------------------------------
57 public:
59
60 bool visit( AlgorithmNode& ) override;
61
62 void reset() override {
65 }
66
70
71 uint m_currentDepth{ 0 };
72 uint m_maxKnownDepth{ 0 };
73 };
74
75} // namespace concurrency
virtual bool visit(DecisionNode &)
void runThroughAdjacents(boost::graph_traits< precedence::PrecTrace >::vertex_descriptor, precedence::PrecTrace)
Definition Rankers.cpp:75
bool visit(AlgorithmNode &) override
Definition Rankers.cpp:38
void recursiveVisit(AlgorithmNode &)
Depth-first node parser to calculate node eccentricity (only within the data realm of the precedence ...
Definition Rankers.cpp:168
bool visit(AlgorithmNode &) override
Definition Rankers.cpp:153
bool visit(AlgorithmNode &) override
Definition Rankers.cpp:121
bool visit(AlgorithmNode &) override
Definition Rankers.cpp:19
bool visit(AlgorithmNode &) override
Definition Rankers.cpp:87
boost::adjacency_list< boost::vecS, boost::vecS, boost::bidirectionalS, AlgoTraceProps > PrecTrace