public class AccumulativeGridSampler<TZ> extends Object
Modifier and Type | Class and Description |
---|---|
static interface |
AccumulativeGridSampler.AccumulativeMetric<TZ>
An accumulative metric give the behavior of combining several samples to a regular sample
grid, ie how we should weight and add several TZ values from inside a cell to compute the
cell corner TZ values.
|
Constructor and Description |
---|
AccumulativeGridSampler(ZSampleGrid<TZ> sampleGrid,
AccumulativeGridSampler.AccumulativeMetric<TZ> metric) |
Modifier and Type | Method and Description |
---|---|
void |
addSamplingPoint(org.locationtech.jts.geom.Coordinate C0,
TZ z,
double offRoadSpeed) |
void |
close()
Surround all existing samples on the edge by a layer of closing samples.
|
public AccumulativeGridSampler(ZSampleGrid<TZ> sampleGrid, AccumulativeGridSampler.AccumulativeMetric<TZ> metric)
metric
- TZ data "behavior" and "metric".public final void addSamplingPoint(org.locationtech.jts.geom.Coordinate C0, TZ z, double offRoadSpeed)
public final void close()
Copyright © 2019. All rights reserved.