Belle II Software development
|
This class assigns a common family identifier to all CACells in the network that are connected. More...
#include <NodeFamilyDefiner.h>
Public Member Functions | |
short | defineFamilies (ContainerType &aNetwork) |
Assign a common family identifier to all Nodes in the network that are connected. | |
Private Member Functions | |
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.
|
inline |
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 42 of file NodeFamilyDefiner.h.
|
inlineprivate |
Assign family to all connected nodes and return their neighbours.
Definition at line 69 of file NodeFamilyDefiner.h.