ManHattanDistance extends FastDistance { @Override public void updateLabel(FastDistanceData data){ }  @Override double calc(double[] vec1, double[] vec2); @Override double calc(Vector vec1, Vector vec2); @Override void updateLabel(FastDistanceData data);  }
@Test public void testUpdateLabel() { Assert.assertNull(distance.prepareVectorData(Tuple2.of(denseVector1, null)).getLabel()); Assert.assertNull(initMatrixData().getLabel()); }