public class ProfileRequest extends Object implements Serializable, Cloneable
Modifier and Type | Field and Description |
---|---|
QualifiedModeSet |
accessModes
The modes used to access transit
|
boolean |
analyst
If true, disable all goal direction and propagate results to the street network
|
int |
bikeSafe
The relative importance of maximizing safety when cycling
|
int |
bikeSlope
The relative importance of minimizing hills when cycling
|
float |
bikeSpeed
The speed of cycling, in meters per second
|
int |
bikeTime
The relative importance of minimizing time when cycling
|
RaptorWorkerTimetable.BoardingAssumption |
boardingAssumption
What assumption should be used when boarding frequency vehicles?
|
float |
carSpeed
The speed of driving, in meters per second
|
org.joda.time.LocalDate |
date
The date of the search
|
QualifiedModeSet |
directModes
The modes used to reach the destination without transit
|
QualifiedModeSet |
egressModes
The modes used to reach the destination after leaving transit
|
double |
fromLat
The latitude of the origin.
|
double |
fromLon
The longitude of the origin.
|
int |
fromTime
The beginning of the departure window, in seconds since midnight.
|
int |
limit
the maximum number of options presented PER ACCESS MODE
|
int |
maxBikeTime
Maximum bike time when using transit
|
int |
maxCarTime
Maximum car time before when using transit
|
int |
maxWalkTime
Maximum walk time before and after using transit, in minutes
NB the time to reach the destination after leaving transit is considered separately from the time to reach
transit at the start of the search; e.g.
|
int |
minBikeTime
Minimum time to ride a bike (to prevent extremely short bike legs)
|
int |
minCarTime
Minimum time to drive (to prevent extremely short driving legs)
|
Option.SortOrder |
orderBy
The order in which to return multiple options
|
float |
reachabilityThreshold
What is the minimum proportion of the time for which a destination must be accessible for it to be included in
the average?
This avoids issues where destinations are reachable for some very small percentage of the time, either because
there is a single departure near the start of the time window, or because they take approximately 2 hours
(the default maximum cutoff) to reach.
|
Scenario |
scenario
A non-destructive scenario to apply when executing this request
|
int |
streetTime
Maximum time to reach the destination without using transit
|
int |
suboptimalMinutes
This parameter compensates for the fact that GTFS does not contain information about schedule deviation (lateness).
|
double |
toLat
The latitude of the destination.
|
double |
toLon
The longitude of the destination.
|
int |
toTime
The end of the departure window, in seconds since midnight.
|
TraverseModeSet |
transitModes
The transit modes used
|
float |
walkSpeed
The speed of walking, in meters per second
|
Constructor and Description |
---|
ProfileRequest() |
Modifier and Type | Method and Description |
---|---|
ProfileRequest |
clone() |
public double fromLat
public double fromLon
public double toLat
public double toLon
public int fromTime
public int toTime
public float walkSpeed
public float bikeSpeed
public float carSpeed
public int streetTime
public int maxWalkTime
public int maxBikeTime
public int maxCarTime
public int minBikeTime
public int minCarTime
public org.joda.time.LocalDate date
public Option.SortOrder orderBy
public int limit
public QualifiedModeSet accessModes
public QualifiedModeSet egressModes
public QualifiedModeSet directModes
public TraverseModeSet transitModes
public boolean analyst
public float reachabilityThreshold
public RaptorWorkerTimetable.BoardingAssumption boardingAssumption
public int bikeSafe
public int bikeSlope
public int bikeTime
public int suboptimalMinutes
public Scenario scenario
public ProfileRequest clone() throws CloneNotSupportedException
clone
in class Object
CloneNotSupportedException
Copyright © 2018. All rights reserved.