interfaces for agglomerative and partitioning algorithms
propagted clustering API change