Template Function pldl::min_maximal_matching¶
Defined in File netlist_algo.hpp
Function Documentation¶
-
template<typename Netlist, typename C1, typename C2>
auto pldl::min_maximal_matching(const Netlist &H, const C1 &weight, C2 &&matchset, C2 &&dep) -> typename C1::mapped_type¶ minimum weighted maximal matching problem
The
min_maximal_matchingfunction is solving the minimum weighted maximal matching problem using the primal-dual paradigm. It takes in a netlistH, a weight mapweight, a matchset containermatchset, and a dependency containerdep.- Template Parameters
Netlist –
C1 –
C2 –
- Parameters
H –
weight –
matchset –
dep –
- Returns
C1::value_type