Belle II Software light-2406-ragdoll
|
Public Member Functions | |
def | __init__ (self, level, children, lca_index=None, lcas_level=0) |
Public Attributes | |
level | |
LCA level. | |
children | |
Node children. | |
lca_index | |
LCA index. | |
lcas_level | |
LCAS level. | |
parent | |
Parent nodes. | |
bfs_index | |
BFS index. | |
Class to hold levels of nodes in the tree. Args: level (int): Level in the tree. children (list[Node]): Children of the nodes. lca_index (int): Index in the LCAS matrix. lcas_level (int): Level in the LCAS matrix.
Definition at line 24 of file lca_to_adjacency.py.
def __init__ | ( | self, | |
level, | |||
children, | |||
lca_index = None , |
|||
lcas_level = 0 |
|||
) |
Initialization
Definition at line 35 of file lca_to_adjacency.py.
bfs_index |
BFS index.
Definition at line 51 of file lca_to_adjacency.py.
children |
Node children.
Definition at line 42 of file lca_to_adjacency.py.
lca_index |
LCA index.
Definition at line 44 of file lca_to_adjacency.py.
lcas_level |
LCAS level.
Definition at line 46 of file lca_to_adjacency.py.
level |
LCA level.
Definition at line 40 of file lca_to_adjacency.py.
parent |
Parent nodes.
Definition at line 49 of file lca_to_adjacency.py.