![]() |
Belle II Software development
|
This class assigns a common family identifier to all CACells in the network that are connected. More...
#include <NodeFamilyDefiner.h>
Static Public Member Functions | |
| static short | defineFamilies (ContainerType &aNetwork) |
| Assign a common family identifier to all Nodes in the network that are connected. | |
Static Private Member Functions | |
| static NeighbourContainerType | markNodes (short family, const NeighbourContainerType &neighbours) |
| Assign family to all connected nodes and return their neighbours. | |
This class assigns a common family identifier to all CACells in the network that are connected.
Requirements for ContainerType:
Requirements for NodeType:
Requirements for NeighbourContainerType:
Definition at line 34 of file NodeFamilyDefiner.h.
|
inlinestatic |
Assign a common family identifier to all Nodes in the network that are connected.
Performs a width first flood fill algorithm. Returns total number of defined families.
Definition at line 41 of file NodeFamilyDefiner.h.
|
inlinestaticprivate |
Assign family to all connected nodes and return their neighbours.
Definition at line 68 of file NodeFamilyDefiner.h.