First, unpack the jar file metaclustering.jar and compile the java files:
	tar xf metaclustering.jar
	javac *.java
-To run Kmeans:
	java Kmeans datefile kcenters noclusterings
 Examples: java Kmeans letterfont.dta 10 5
 This will generate 5 clusterings with different random initializations using Kmeans algorithm.

-To run CKmeans:
	java CKmeans datafile kcenters noclusterings cindex constrained_pair_percentage
 Examples: java CKmeans letterfont.dta 10 5 0 0.1
 This will generate 5 clusterings with 10% constrained pairs from the 1st label set using the CKmeans algorithms.

-To run Diverse-Kmeans:
	java Diverse_Kmeans datafile kcenters contrained_clustering_file diversity_cost prior_cost no_constraint_clusterings noclusterings
 Examples: java Diverse_Kmeans letterfont.dta 10 letterfont_constrained_clustering.cls 1.0 1.0 20 5
 This will generate 5 clusterings using the 10 constrained clusterings sampling from letterfont_constrained_clustering.cls. 
