Defined in File Matching.hpp
Public Functions
Set two nodes u and v as each others matching partners.
u – [in] node.
v – [in] node.
Reset the two nodes u and v to unmatched.
u – [in] node.
v – [in] node.
Check if node is matched.
u – [in] node.
true
if u is matched.
Check if the two nodes u and v are matched together.
u – [in] node.
v – [in] node.
true
if u and v are matched together.
Check whether this is a proper matching in the graph, i.e. no two matched edges are adjacent.
G – [in] A graph.
true
if this is a proper matching.
Get the number of edges in this matching.
G – [in] A graph.
Number of edges in matching.
Get the matched neighbor of v if it exists, otherwise none
.
v – [in] node.
Mate of v if it exists, otherwise none.
Get total weight of edges in this matching.
g – [in] The corresponding graph.
Total weight of edges in this matching.