@Test
public void testDMClusterDistribution2() {
DistanceMeasureClusterDistribution dist =
new DistanceMeasureClusterDistribution(new VectorWritable(new DenseVector(2)), new EuclideanDistanceMeasure());
String json = dist.asJsonString();
GsonBuilder builder = new GsonBuilder();
builder.registerTypeAdapter(ModelDistribution.class, new JsonModelDistributionAdapter());
builder.registerTypeAdapter(DistanceMeasure.class, new JsonDistanceMeasureAdapter());
Gson gson = builder.create();
DistanceMeasureClusterDistribution dist1 = (DistanceMeasureClusterDistribution) gson