![]() |
ATLAS Offline Software
|
#include <Tree.h>
Public Member Functions | |
| Tree (const std::vector< std::size_t > &) | |
| std::size_t | parent (std::size_t) const |
| std::vector< std::size_t > | siblings (std::size_t) const |
| std::size_t | size () const |
| const std::vector< std::size_t > & | leaves () const |
| bool | is_leaf (size_t) const |
| bool | is_simple () const |
| const std::vector< std::size_t > & | firstGeneration () const |
| std::vector< std::size_t >::const_iterator | cbegin () const |
| std::vector< std::size_t >::const_iterator | cend () const |
| std::size_t | depth (std::size_t) const |
Private Attributes | |
| std::vector< std::size_t > | m_parents |
| std::vector< std::vector< std::size_t > > | m_children |
| std::vector< std::size_t > | m_leaves |
| std::vector< std::size_t > | m_firstGeneration |
| Tree::Tree | ( | const std::vector< std::size_t > & | parents | ) |
|
inline |
|
inline |
| std::size_t Tree::depth | ( | std::size_t | n | ) | const |
| const std::vector< std::size_t > & Tree::firstGeneration | ( | ) | const |
| bool Tree::is_leaf | ( | size_t | ) | const |
| bool Tree::is_simple | ( | ) | const |
| const std::vector< std::size_t > & Tree::leaves | ( | ) | const |
| std::size_t Tree::parent | ( | std::size_t | k | ) | const |
| std::vector< std::size_t > Tree::siblings | ( | std::size_t | k | ) | const |
| std::size_t Tree::size | ( | ) | const |
|
private |