cluster_est_Fmeasure(c, logposterior)n. c[[j]][i] is
the cluster allocation of observation i=1...n at iteration
j=1...N.c used to break ties when minimizing the cost functionlist:
c_est:n. Point estimate of the partition}cost:N. cost[j] is the cost
associated to partition c[[j]]similarity:n x n. Similarity matrix
(see similarityMat)opt_ind:similarityMat