MATSIM
core
router
FastRouterDelegate.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* FastRouterDelegate.java
4
* *
5
* *********************************************************************** *
6
* *
7
* copyright : (C) 2011 by the members listed in the COPYING, *
8
* LICENSE and WARRANTY file. *
9
* email : info at matsim dot org *
10
* *
11
* *********************************************************************** *
12
* *
13
* This program is free software; you can redistribute it and/or modify *
14
* it under the terms of the GNU General Public License as published by *
15
* the Free Software Foundation; either version 2 of the License, or *
16
* (at your option) any later version. *
17
* See also COPYING, LICENSE and WARRANTY file *
18
* *
19
* *********************************************************************** */
20
21
package
org.matsim.core.router;
22
23
import
org
.
matsim
.
api
.
core
.
v01
.
network
.
Node
;
24
import
org
.
matsim
.
core
.
router
.
util
.
LeastCostPathCalculator
.
Path
;
25
import
org
.
matsim
.
core
.
router
.
util
.
NodeData
;
26
import
org
.
matsim
.
core
.
router
.
util
.
PreProcessDijkstra
;
27
import
org
.
matsim
.
core
.
utils
.
collections
.
RouterPriorityQueue
;
28
37
/*package*/
interface
FastRouterDelegate {
38
39
/*
40
* Some implementations might use this for lazy initialization.
41
*/
42
/*package*/
void
initialize();
43
44
/*
45
* Constructs the path and replaces the nodes and links from the routing network
46
* with their corresponding nodes and links from the network.
47
*/
48
/*package*/
Path constructPath(Node fromNode, Node toNode,
double
startTime,
double
arrivalTime);
49
/*
50
* For performance reasons the outgoing links of a node are stored in
51
* the routing network in an array instead of a map. Therefore we have
52
* to iterate over an array instead of over a map.
53
*/
54
/*package*/
void
relaxNode(
final
Node outNode,
final
Node toNode,
final
RouterPriorityQueue<Node> pendingNodes);
55
56
/*
57
* The NodeData is taken from the RoutingNetworkNode and not from a map.
58
*/
59
/*package*/
NodeData getData(
final
Node n);
60
61
/*
62
* The DeadEndData is taken from the RoutingNetworkNode and not from a map.
63
*/
64
/*package*/
PreProcessDijkstra.DeadEndData getPreProcessData(
final
Node n);
65
}
org.matsim.api.core.v01.network
Definition:
Link.java:20
org.matsim.core.router.util.LeastCostPathCalculator
Definition:
LeastCostPathCalculator.java:30
org
org.matsim.core.utils
org.matsim.core.router.util
Definition:
AbstractRoutingNetwork.java:21
org.matsim.core.router.util.LeastCostPathCalculator.Path
Definition:
LeastCostPathCalculator.java:34
org.matsim.core.router.util.NodeData
Definition:
NodeData.java:25
org.matsim.api
org.matsim.core.router.util.PreProcessDijkstra
Definition:
PreProcessDijkstra.java:45
org.matsim.core
org.matsim.core.router
Definition:
AbstractFastRouterDelegate.java:21
org.matsim.api.core
org.matsim.core.utils.collections
Definition:
ArrayMap.java:20
org.matsim.core.utils.collections.RouterPriorityQueue
Definition:
RouterPriorityQueue.java:37
org.matsim
org.matsim.api.core.v01
Definition:
BasicLocation.java:20
org.matsim.api.core.v01.network.Node
Definition:
Node.java:39
Generated by
1.8.13