Class GeoIndexing


  • public class GeoIndexing
    extends java.lang.Object
    Example code for using the R-tree index of ELKI, with Haversine distance.
    Since:
    0.7.5
    Author:
    Erich Schubert
    • Constructor Summary

      Constructors 
      Constructor Description
      GeoIndexing()  
    • Method Summary

      All Methods Static Methods Concrete Methods 
      Modifier and Type Method Description
      static void main​(java.lang.String[] args)  
      private static double[] randomLatitudeLongitude​(java.util.Random r)
      Generate random coordinates.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • GeoIndexing

        public GeoIndexing()
    • Method Detail

      • main

        public static void main​(java.lang.String[] args)
      • randomLatitudeLongitude

        private static double[] randomLatitudeLongitude​(java.util.Random r)
        Generate random coordinates.
        Parameters:
        r - Random generator
        Returns:
        Latitude, Longitude array.