StaticLocationService

public class StaticLocationService<V> implements LocationService<T, E>

Constructors

Link copied to clipboard
public void StaticLocationService(SpatialModel<V> model)

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 SpatialModel<V> get(Double t)
Provides the spatial model corresponding to time t
Link copied to clipboard
public boolean isEmpty()
Quick helper to check whether the location service is meaningful or not
Link copied to clipboard
Provides an iterator over the pairs over which the location service is defined.