public class TimeSurface extends Object implements Serializable
Modifier and Type | Class and Description |
---|---|
static class |
TimeSurface.RangeSet
Groups together three TimeSurfaces as a single response for profile-analyst.
|
Modifier and Type | Field and Description |
---|---|
int |
cutoffMinutes |
long |
dateTime |
String |
description |
int |
id |
double |
lat |
double |
lon |
Map<String,String> |
params |
String |
routerId |
SparseMatrixZSampleGrid<SampleGridRenderer.WTWD> |
sampleGrid |
gnu.trove.map.TObjectIntMap<Vertex> |
times |
static int |
UNREACHABLE |
double |
walkSpeed |
Constructor and Description |
---|
TimeSurface(AnalystProfileRouterPrototype profileRouter)
Make a max or min timesurface from propagated times in a ProfileRouter.
|
TimeSurface(ProfileRouter profileRouter)
Make a max or min timesurface from propagated times in a ProfileRouter.
|
TimeSurface(RepeatedRaptorProfileRouter profileRouter) |
TimeSurface(RoundBasedProfileRouter profileRouter)
Make a max or min timesurface from propagated times in a ProfileRouter.
|
TimeSurface(ShortestPathTree spt)
Create a time surface with a sample grid
|
TimeSurface(ShortestPathTree spt,
boolean makeSampleGrid)
Create a time surface, optionally making a sample grid
|
Modifier and Type | Method and Description |
---|---|
int |
getTime(Vertex v) |
void |
makeSampleGridWithoutSPT()
Create the SampleGrid from whatever values are already in the TimeSurface, rather than looking at the SPT.
|
static TimeSurface.RangeSet |
makeSurfaces(AnalystProfileRouterPrototype profileRouter) |
int |
size() |
public static final int UNREACHABLE
public final String routerId
public final int id
public final gnu.trove.map.TObjectIntMap<Vertex> times
public final double lat
public final double lon
public int cutoffMinutes
public long dateTime
public SparseMatrixZSampleGrid<SampleGridRenderer.WTWD> sampleGrid
public String description
public double walkSpeed
public TimeSurface(ShortestPathTree spt)
public TimeSurface(ShortestPathTree spt, boolean makeSampleGrid)
public TimeSurface(AnalystProfileRouterPrototype profileRouter)
public TimeSurface(ProfileRouter profileRouter)
public TimeSurface(RoundBasedProfileRouter profileRouter)
public TimeSurface(RepeatedRaptorProfileRouter profileRouter)
public static TimeSurface.RangeSet makeSurfaces(AnalystProfileRouterPrototype profileRouter)
public int getTime(Vertex v)
public int size()
public void makeSampleGridWithoutSPT()
Copyright © 2019. All rights reserved.