Defined in File BMatching.hpp
Public Functions
WARNING: This contructor is required for Python and should not be used as the BMatching is not correctly initialized.
Constructs a new BMatching.
G – The graph
b – b values for all nodes
Checks whether this is a proper b-matching.
bool
Sets two nodes u and v as each others matching NodeMatches.
u –
v –
Checks if the two nodes u and v are matched together.
u – node.
v – node.
bool
Get the number of edges in this b-matching.
Number of edges in b-matching.
Get total weight of edges in this b-matching.
edgeweight
Retrieves a reference to the set of matches for each node.
Removes all entries from the b-matching data structure