public class TNPropagatedTimesStore extends Object
Modifier and Type | Class and Description |
---|---|
static class |
TNPropagatedTimesStore.ConfidenceCalculationMethod |
Modifier and Type | Field and Description |
---|---|
int |
N_BOOTSTRAPS |
Constructor and Description |
---|
TNPropagatedTimesStore(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(PointSet pointSet,
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.
|
void |
setFromArray(int[][] times,
TNPropagatedTimesStore.ConfidenceCalculationMethod confidenceCalculationMethod) |
public final int N_BOOTSTRAPS
public void setFromArray(int[][] times, TNPropagatedTimesStore.ConfidenceCalculationMethod confidenceCalculationMethod)
times
- for search (varying departure time), an array of travel times to each transit stop.public ResultEnvelope makeResults(PointSet pointSet, boolean includeTimes, boolean includeHistograms, boolean includeIsochrones)
public ResultEnvelope makeIsochronesForVertices()
public SparseMatrixZSampleGrid<SampleGridRenderer.WTWD> makeSampleGridForVertices(int[] times, double gridSizeMeters)
public int countTargetsReached()
Copyright © 2019. All rights reserved.