FM partition constraint manager.
Constraint Manager.
Definition FMBiConstrMgr.hpp:17
FMBiConstrMgr(const Gnl &hyprgraph, double bal_tol, std::uint8_t)
Constructs a new FMBiConstrMgr object for the general framework.
Definition FMBiConstrMgr.hpp:33
FMBiConstrMgr(const Gnl &hyprgraph, double bal_tol)
Construct a new FMBiConstrMgr object (for general framework)
Definition FMBiConstrMgr.hpp:25
auto select_togo() const -> std::uint8_t
Selects the partition to move a vertex to based on the difference in partition sizes.
Definition FMBiConstrMgr.hpp:41
Fiduccia-Mattheyses Partition Constraint Manager.
Definition FMConstrMgr.hpp:29
std::vector< unsigned int > diff
Difference between current partition weight and target for each partition.
Definition FMConstrMgr.hpp:42