@@ -0,0 +1,426 @@
+/**%0A * The interface of all distance function%0A */%0Apublic interface DistanceFunction %7B%0A    /**%0A     * Compute the distance between two given points.%0A     * @param a A double array representing one point's coordinate.%0A     * @param b A double array representing the other point's coordinate.%0A     * @return A double value representing the distance between two given points.%0A     */%0A    double compute(double%5B%5D a, double%5B%5D b);%0A%7D%0A

Create DistanceFunction interface.