objective_clustering: objective clustering cost
Description
Auxiliary function to calculate a cost function for clustering. Modified
version of Cost_func() from Khorshidi et al., 2019.
Usage
objective_clustering(Alloc_Dist)
Arguments
Alloc_Dist
list with Distance to cluster centers and allocation
matrix, as obtained with Allocation_Distance().