Search in sources :

Example 6 with ResultEnvelope

use of org.opentripplanner.analyst.cluster.ResultEnvelope in project OpenTripPlanner by opentripplanner.

the class TNPropagatedTimesStore method makeIsochronesForVertices.

/**
 * This bypasses a bunch of conversion and copy steps and just makes the isochrones.
 * This assumes that the target indexes in this router/propagatedTimesStore are vertex indexes, not pointset indexes.
 * ^^^^^^^^probably doesn't work currently, can we make an implicit pointset that just wraps the vertices?
 */
public ResultEnvelope makeIsochronesForVertices() {
    ResultEnvelope envelope = new ResultEnvelope();
    envelope.worstCase = makeIsochroneForVertices(maxs);
    envelope.avgCase = makeIsochroneForVertices(avgs);
    envelope.bestCase = makeIsochroneForVertices(mins);
    return envelope;
}
Also used : ResultEnvelope(org.opentripplanner.analyst.cluster.ResultEnvelope)

Aggregations

ResultEnvelope (org.opentripplanner.analyst.cluster.ResultEnvelope)6 ResultSet (org.opentripplanner.analyst.ResultSet)2 Coordinate (com.vividsolutions.jts.geom.Coordinate)1 TIntIntMap (gnu.trove.map.TIntIntMap)1 File (java.io.File)1 LocalDate (org.joda.time.LocalDate)1 TaskStatistics (org.opentripplanner.analyst.cluster.TaskStatistics)1 QualifiedModeSet (org.opentripplanner.api.parameter.QualifiedModeSet)1 Histogram (org.opentripplanner.common.Histogram)1 ProfileRequest (org.opentripplanner.profile.ProfileRequest)1 RaptorWorkerData (org.opentripplanner.profile.RaptorWorkerData)1 RepeatedRaptorProfileRouter (org.opentripplanner.profile.RepeatedRaptorProfileRouter)1 State (org.opentripplanner.routing.core.State)1 TraverseModeSet (org.opentripplanner.routing.core.TraverseModeSet)1 Graph (org.opentripplanner.routing.graph.Graph)1 Vertex (org.opentripplanner.routing.graph.Vertex)1