Uses of Interface
rgu.transport.algorithms.search.NearestFinder
Packages that use NearestFinder
Package
Description
Contains data structures used by algorithms.
Contains algorithms for search such as Dijkstra graph search.
Geospatial data.
Multimodal geospatial data such as public transport networks.
Non-exported implementation for rgu.transport module, not to be used by other modules.
-
Uses of NearestFinder in rgu.transport.algorithms.collections
Classes in rgu.transport.algorithms.collections that implement NearestFinderModifier and TypeClassDescriptionclassTwoDTree<T extends TwoDTree.Point>A 2D tree used as a nearest finder with a compatible metric.Methods in rgu.transport.algorithms.collections that return NearestFinderModifier and TypeMethodDescriptionTwoDTree.withRatio(double ratio) Returns this 2D tree adapted to use a given stretch ratio (applied to the x-axis). -
Uses of NearestFinder in rgu.transport.algorithms.search
Methods in rgu.transport.algorithms.search that return NearestFinderModifier and TypeMethodDescriptiondefault NearestFinder<T> NearestFinder.cache()Returns a cached version of the finder.default NearestFinder<T> Returns a cached version of the finder seeded with the specified starting map.default NearestFinder<T> NearestFinder.concurrentCache()Returns a thread-safe cached version of the finder.default NearestFinder<T> NearestFinder.concurrentCache(Map<T, T> cache) Returns a thread-safe cached version of the finder seeded with the specified starting map. -
Uses of NearestFinder in rgu.transport.geospatial
Methods in rgu.transport.geospatial that return NearestFinderModifier and TypeMethodDescriptionstatic NearestFinder<GeoLocation> GeoLocation.nearestHaversine(Collection<GeoLocation> elements) Returns a nearest finder for the given collection of points, using the Euclidean distance.static NearestFinder<GeoLocation> GeoLocation.nearestHaversine(Collection<GeoLocation> elements, Distance maxDistance) Returns a nearest finder for the given collection of points, using the Euclidean distance, limited to a given maximum distance.static NearestFinder<GeoLocation> GeoLocation.nearestStretchedEuclidean(double ratio, Collection<GeoLocation> elements) Returns a nearest finder for the given collection of points, using the Euclidean distance.static NearestFinder<GeoLocation> GeoLocation.nearestStretchedEuclidean(double ratio, Collection<GeoLocation> elements, double maxDistance) Returns a nearest finder for the given collection of points, using the Euclidean distance, limited to a given maximum distance. -
Uses of NearestFinder in rgu.transport.geospatial.multimodal
Methods in rgu.transport.geospatial.multimodal that return NearestFinderModifier and TypeMethodDescriptionTransitNetwork.nearestEuclidean()Deprecated, for removal: This API element is subject to removal in a future version.TransitNetwork.nearestHaversine()Returns a neighbour finder based on which location is nearest on the Haversine space.TransitNetwork.nearestStretchedEuclidean(double ratio) Returns a neighbour finder based on which location is nearest on the Euclidean space.TransitNetwork.nearestStretchedEuclidean(GeoLocation at) Returns a neighbour finder based on which location is nearest on the Euclidean space. -
Uses of NearestFinder in rgu.transport.impl
Classes in rgu.transport.impl that implement NearestFinderModifier and TypeClassDescriptionfinal classExhaustiveGeoLocationNearestFinderImpl<D extends Comparable<? super D>>Exhaustive search on a set of geo locations.
TransitNetwork.nearestStretchedEuclidean(double)orTransitNetwork.nearestStretchedEuclidean(double)