|
MATSIM
|

Public Member Functions | |
| double | getLinkTravelDisutility (final Link link, final double time, final Person person, final Vehicle vehicle, final CustomDataManager dataManager) |
| double | getWalkTravelTime (Person person, Coord coord, Coord toCoord) |
| double | getWalkTravelDisutility (Person person, Coord coord, Coord toCoord) |
Definition at line 30 of file TransitTravelDisutility.java.
| double org.matsim.pt.router.TransitTravelDisutility.getLinkTravelDisutility | ( | final Link | link, |
| final double | time, | ||
| final Person | person, | ||
| final Vehicle | vehicle, | ||
| final CustomDataManager | dataManager | ||
| ) |
Returns the disutility to travel on the specified link at the specified time.
| link | The link for which the travel disutility is calculated. |
| time | The departure time (in seconds since 00:00) at the beginning of the link for which the disutility is calculated. |
| person | The person that wants to travel along the link. Note that this parameter can be null! |
| vehicle | The vehicle with which the person wants to travel along the link. Note that this parameter can be null! |
| dataManager | A helper class to enable the cost calculator store arbitrary data during one routing request. |
link, departing at time time. Implemented in org.matsim.pt.router.TransitRouterNetworkTravelTimeAndDisutility.
Referenced by org.matsim.pt.router.TransitLeastCostPathTree.addToPendingNodes().
| double org.matsim.pt.router.TransitTravelDisutility.getWalkTravelTime | ( | Person | person, |
| Coord | coord, | ||
| Coord | toCoord | ||
| ) |
This is used for walking to and from the nearest transit stop from the start and end location, as well as for the "direct" walk from start to finish without using a pt line at all. It is not used for transfer links (these are handled by the transitTravelDisutility).
Implemented in org.matsim.pt.router.TransitRouterNetworkTravelTimeAndDisutility.
Referenced by org.matsim.pt.router.AbstractTransitRouter.getTransferTime(), and org.matsim.pt.router.AbstractTransitRouter.getWalkTime().
| double org.matsim.pt.router.TransitTravelDisutility.getWalkTravelDisutility | ( | Person | person, |
| Coord | coord, | ||
| Coord | toCoord | ||
| ) |
Implemented in org.matsim.pt.router.TransitRouterNetworkTravelTimeAndDisutility.
Referenced by org.matsim.pt.router.AbstractTransitRouter.getWalkDisutility().
1.8.13