Two-Way Partitioning(Fiduccia & Mattheyses)
(1) Find the first cell of highest gain that is not locked and such that moving it would not cause an imbalance
- Break tie by choosing the one that gives the best balance
(2) Choose this as the base cell. Remove it from the bucket list and place it on the LOCKED list. Update it to the other partition.
Critical net
- Given a partition (A|B), we define the distribution of n as an ordered pair of integers (A(n),B(n)), which represents the number of cells net n has in blocks A and B respectively (can be computed in O(P) time for all nets)