public class PropagatedTimesStore extends Object
Modifier and Type | Class and Description |
---|---|
static class |
PropagatedTimesStore.ConfidenceCalculationMethod |
Modifier and Type | Field and Description |
---|---|
int |
N_BOOTSTRAPS |
Constructor and Description |
---|
PropagatedTimesStore(Graph graph,
ProfileRequest req) |
PropagatedTimesStore(Graph graph,
ProfileRequest req,
int size) |
Modifier and Type | Method and Description |
---|---|
int |
countTargetsReached() |
ResultEnvelope |
makeIsochronesForVertices()
This bypasses a bunch of conversion and copy steps and just makes the isochrones.
|
ResultEnvelope |
makeResults(SampleSet ss,
boolean includeTimes,
boolean includeHistograms,
boolean includeIsochrones)
Make a ResultEnvelope directly from a given SampleSet.
|
SparseMatrixZSampleGrid<SampleGridRenderer.WTWD> |
makeSampleGridForVertices(int[] times,
double gridSizeMeters)
Create a SampleGrid from only the times stored in this PropagatedTimesStore.
|
TimeSurface.RangeSet |
makeSurfaces(RepeatedRaptorProfileRouter repeatedRaptorProfileRouter) |
void |
setFromArray(int[][] times,
boolean[] includeInAverages,
PropagatedTimesStore.ConfidenceCalculationMethod confidenceCalculationMethod) |
public final int N_BOOTSTRAPS
public PropagatedTimesStore(Graph graph, ProfileRequest req)
public PropagatedTimesStore(Graph graph, ProfileRequest req, int size)
public void setFromArray(int[][] times, boolean[] includeInAverages, PropagatedTimesStore.ConfidenceCalculationMethod confidenceCalculationMethod)
times
- for search (varying departure time), an array of travel times to each destination.includeInAverages
- for each iteration, whether that iteration should be included in average calculations.
In RaptorWorker's Monte Carlo code we also include minima and maxima, which should
not be included in averages.
Iterations that are not included in averages are still used to determine extrema.public ResultEnvelope makeResults(SampleSet ss, boolean includeTimes, boolean includeHistograms, boolean includeIsochrones)
public TimeSurface.RangeSet makeSurfaces(RepeatedRaptorProfileRouter repeatedRaptorProfileRouter)
public ResultEnvelope makeIsochronesForVertices()
public SparseMatrixZSampleGrid<SampleGridRenderer.WTWD> makeSampleGridForVertices(int[] times, double gridSizeMeters)
public int countTargetsReached()
Copyright © 2019. All rights reserved.