PandA-2024.02
Public Member Functions | Private Attributes
level_constructor Class Reference

level manager. More...

#include <level_constructor.hpp>

Public Member Functions

 level_constructor (std::map< vertex, unsigned int > &_map_levels_true, std::deque< vertex > &_deque_levels_true)
 Constructor. More...
 
 ~level_constructor ()
 Destructor. More...
 
void add (vertex v, unsigned int index)
 Add a vertex to the deque and to the map. More...
 

Private Attributes

std::map< vertex, unsigned int > & map_levels_true
 Map vertex to position in topological order; in the sorting then part vertices come before else part ones. More...
 
std::deque< vertex > & deque_levels_true
 List of vertices sorted by topological order; in the sorting then part vertices come before else part ones. More...
 

Detailed Description

level manager.

Definition at line 61 of file level_constructor.hpp.

Constructor & Destructor Documentation

◆ level_constructor()

level_constructor::level_constructor ( std::map< vertex, unsigned int > &  _map_levels_true,
std::deque< vertex > &  _deque_levels_true 
)

Constructor.

Parameters
_map_levels_trueis the reference to the map_levels_true
_deque_levels_trueis the reference to the deque_levels_true

Definition at line 45 of file level_constructor.cpp.

References ~level_constructor().

Here is the call graph for this function:

◆ ~level_constructor()

level_constructor::~level_constructor ( )
default

Destructor.

Referenced by level_constructor().

Here is the caller graph for this function:

Member Function Documentation

◆ add()

void level_constructor::add ( vertex  v,
unsigned int  index 
)

Add a vertex to the deque and to the map.

Definition at line 53 of file level_constructor.cpp.

References deque_levels_true, index, and map_levels_true.

Field Documentation

◆ deque_levels_true

std::deque<vertex>& level_constructor::deque_levels_true
private

List of vertices sorted by topological order; in the sorting then part vertices come before else part ones.

Definition at line 74 of file level_constructor.hpp.

Referenced by add().

◆ map_levels_true

std::map<vertex, unsigned int>& level_constructor::map_levels_true
private

Map vertex to position in topological order; in the sorting then part vertices come before else part ones.

Definition at line 68 of file level_constructor.hpp.

Referenced by add().


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

Generated on Mon Feb 12 2024 13:03:56 for PandA-2024.02 by doxygen 1.8.13