An apparatus, program product and method utilize a clustering algorithm
based upon trading propensity to generate assignments of circuit elements
to clusters or groups to optimize a spatial distribution of the plurality
of clusters. For example, trading propensity-based clustering may be used
to assign circuit elements such as scan-enabled latches to individual
scan chains to optimize the layout of the scan chains in a scan
architecture for an integrated circuit design.