API for clustering algorithm execution.