DriverImplpublic interface Driver
| Modifier and Type | Method | Description |
|---|---|---|
String |
getAdjacent(String urbanizationId,
Directions direction) |
Given an identifier and adjacency address returns the identifier of the adjacent urbanization.
|
String |
getUrbanizationId(Double coordinateX,
Double coordinateY) |
Given some coordinates, return the identifier of the urbanization in which they are enclosed coordinates.
|
default String[] |
getUrbanizations(OptionalDouble coordinateX,
OptionalDouble coordinateY,
Optional<Range> range) |
Given some coordinates and a range, it returns us the identifier of all the urbanizations that should visit the drone.
|
String getUrbanizationId(Double coordinateX, Double coordinateY)
coordinateX - coordinate on the x axiscoordinateY - coordinate on the y axisString getAdjacent(String urbanizationId, Directions direction)
urbanizationId - urbanization identifierdirection - address in which the adjacent urbanization is locateddefault String[] getUrbanizations(OptionalDouble coordinateX, OptionalDouble coordinateY, Optional<Range> range)
coordinateX - coordinate on the x axiscoordinateY - coordinate on the y axisrange - number that indicates the search rangeCopyright © 2018. All rights reserved.