Class ClusterBasedGenerator

    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.util.List<Location> getLocations​(int n, double centerX, double centerY, double radius, double minDistance)  
      • Methods inherited from class java.lang.Object

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

      • ClusterBasedGenerator

        public ClusterBasedGenerator​(ITSPLocationGenerator clusterLocationGenerator,
                                     ITSPLocationGenerator inClusterLocationGenerator,
                                     double density,
                                     int clusterRadius,
                                     double minDistanceBetweenClusters,
                                     java.util.Random random)
    • Method Detail

      • getLocations

        public java.util.List<Location> getLocations​(int n,
                                                     double centerX,
                                                     double centerY,
                                                     double radius,
                                                     double minDistance)
        Specified by:
        getLocations in interface ITSPLocationGenerator