public final class GeographicalCoordinatesGenerator
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
GeographicalCoordinatesGenerator.PlotCoordinates |
Modifier and Type | Method and Description |
---|---|
static GeographicalCoordinatesGenerator |
getInstance() |
GeographicalCoordinatesGenerator.PlotCoordinates |
getMeanCoordinatesForThisDepartment(FrenchDepartmentProvider.FrenchDepartment department)
This method returns the mean coordinates for a given department.
|
java.util.List<GeographicalCoordinatesGenerator.PlotCoordinates> |
getRandomCoordinates(int n,
FrenchDepartmentProvider.FrenchDepartment department)
This method returns a number of plot coordinates for imputation.
|
public java.util.List<GeographicalCoordinatesGenerator.PlotCoordinates> getRandomCoordinates(int n, FrenchDepartmentProvider.FrenchDepartment department)
n
- the number of coordinates neededdepartment
- a FrenchDepartment representing the departmentpublic GeographicalCoordinatesGenerator.PlotCoordinates getMeanCoordinatesForThisDepartment(FrenchDepartmentProvider.FrenchDepartment department)
department
- a FrenchDepartment enum that represents the departmentpublic static GeographicalCoordinatesGenerator getInstance()