The maximal matching module¶
Maximal matching class.
-
class
hcga.features.maximal_matching.
MaximalMatching
(graph=None)[source]¶ Maximal matching class.
A matching is a subset of edges in which no node occurs more than once. A maximal matching cannot add more edges and still be a matching.
- Maximal matching calculations using networkx:
Initialise a feature class.
- Parameters
graph (Graph) – graph for initialisation, converted to given encoding