|
MATSIM
|
Public Member Functions | |
| void | setToNodeCustomData (final Object data) |
| Object | getFromNodeCustomData () |
| void | initForLink (final Link link) |
| void | storeTmpData () |
| void | reset () |
Private Attributes | |
| final HashMap< Node, Object > | data = new HashMap<Node, Object>() |
| Node | fromNode = null |
| Node | toNode = null |
| Object | tmpToNodeData = null |
A helper class to store custom data for TransitTravelDisutility which can be used to e.g. keep track of paid fares during the routing process. The stored data will be invalidated for each new routing request.
Definition at line 34 of file CustomDataManager.java.
| void org.matsim.pt.router.CustomDataManager.setToNodeCustomData | ( | final Object | data | ) |
Definition at line 42 of file CustomDataManager.java.
References org.matsim.pt.router.CustomDataManager.data.
| Object org.matsim.pt.router.CustomDataManager.getFromNodeCustomData | ( | ) |
| node |
null if there is no data stored yet. Definition at line 50 of file CustomDataManager.java.
| void org.matsim.pt.router.CustomDataManager.initForLink | ( | final Link | link | ) |
Definition at line 54 of file CustomDataManager.java.
References org.matsim.api.core.v01.network.Link.getFromNode(), and org.matsim.api.core.v01.network.Link.getToNode().
Referenced by org.matsim.pt.router.TransitLeastCostPathTree.addToPendingNodes().

| void org.matsim.pt.router.CustomDataManager.storeTmpData | ( | ) |
Definition at line 60 of file CustomDataManager.java.
Referenced by org.matsim.pt.router.TransitLeastCostPathTree.addToPendingNodes().
| void org.matsim.pt.router.CustomDataManager.reset | ( | ) |
Definition at line 66 of file CustomDataManager.java.
Referenced by org.matsim.pt.router.TransitLeastCostPathTree.TransitLeastCostPathTree().
|
private |
Definition at line 36 of file CustomDataManager.java.
Referenced by org.matsim.pt.router.CustomDataManager.setToNodeCustomData().
|
private |
Definition at line 37 of file CustomDataManager.java.
|
private |
Definition at line 38 of file CustomDataManager.java.
|
private |
Definition at line 40 of file CustomDataManager.java.
1.8.13