PandA-2024.02
|
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... | |
level manager.
Definition at line 61 of file level_constructor.hpp.
level_constructor::level_constructor | ( | std::map< vertex, unsigned int > & | _map_levels_true, |
std::deque< vertex > & | _deque_levels_true | ||
) |
Constructor.
_map_levels_true | is the reference to the map_levels_true |
_deque_levels_true | is the reference to the deque_levels_true |
Definition at line 45 of file level_constructor.cpp.
References ~level_constructor().
|
default |
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.
|
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 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().