LocationService

public interface LocationService<T, E>

Primary interface of location services. In general, a location service is anything that provides a spatial model for a given time frame.

Author

loreti

Inheritors

Functions

Link copied to clipboard
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyList(int locations, RecordHandler edgeRecordHandler, double time, Array<Array<double>> graph)
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyList(int locations, RecordHandler edgeRecordHandler, double time, Array<Array<String>> graph)
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyList(int locations, RecordHandler edgeRecordHandler, Array<double> locationTimeArray, Array<Array<Array<double>>> graph)
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyList(int locations, RecordHandler edgeRecordHandler, Array<double> locationTimeArray, Array<Array<Array<String>>> graph)
Link copied to clipboard
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyMatrix(int locations, RecordHandler edgeRecordHandler, double time, Array<Array<Array<double>>> graph)
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyMatrix(int locations, RecordHandler edgeRecordHandler, double time, Array<Array<Array<String>>> graph)
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyMatrix(int locations, RecordHandler edgeRecordHandler, Array<double> locationTimeArray, Array<Array<Array<Array<double>>>> graph)
public static LocationService<Double, MoonLightRecord> buildLocationServiceFromAdjacencyMatrix(int locations, RecordHandler edgeRecordHandler, Array<double> locationTimeArray, Array<Array<Array<Array<String>>>> graph)
Link copied to clipboard
public abstract SpatialModel<E> get(T t)
Provides the spatial model corresponding to time t
Link copied to clipboard
public abstract boolean isEmpty()
Quick helper to check whether the location service is meaningful or not
Link copied to clipboard
public abstract Iterator<Pair<T, SpatialModel<E>>> times()
Provides an iterator over the pairs over which the location service is defined.