![]() |
Belle II Software
light-2403-persian
|
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.