MATSIM
core
population
routes
GenericRouteFactory.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* TransitRouteFactory.java
4
* *
5
* *********************************************************************** *
6
* *
7
* copyright : (C) 2009 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.population.routes;
22
23
import
org
.
matsim
.
api
.
core
.
v01
.
Id
;
24
import
org
.
matsim
.
api
.
core
.
v01
.
network
.
Link
;
25
import
org
.
matsim
.
api
.
core
.
v01
.
population
.
Route
;
26
27
public
final
class
GenericRouteFactory
implements
RouteFactory
{
28
29
@Override
30
public
Route
createRoute
(
final
Id<Link>
startLinkId,
final
Id<Link>
endLinkId) {
31
return
RouteUtils
.
createGenericRouteImpl
(startLinkId, endLinkId);
32
}
33
34
@Override
35
public
String
getCreatedRouteType
() {
36
return
GenericRouteImpl
.ROUTE_TYPE;
37
}
38
39
}
org.matsim.api.core.v01.network
Definition:
Link.java:20
org.matsim.api.core.v01.Id
Definition:
Id.java:44
org.matsim.core.population.routes.RouteUtils.createGenericRouteImpl
static Route createGenericRouteImpl(Id< Link > startLinkId, Id< Link > endLinkId)
Definition:
RouteUtils.java:308
org.matsim.api.core.v01.population
Definition:
Activity.java:21
org
org.matsim.core.population.routes.GenericRouteFactory
Definition:
GenericRouteFactory.java:27
org.matsim.api.core.v01.population.Route
Definition:
Route.java:30
org.matsim.api
org.matsim.core.population.routes.GenericRouteFactory.getCreatedRouteType
String getCreatedRouteType()
Definition:
GenericRouteFactory.java:35
org.matsim.core.population.routes.RouteUtils
Definition:
RouteUtils.java:48
org.matsim.api.core
org.matsim.core.population.routes.GenericRouteFactory.createRoute
Route createRoute(final Id< Link > startLinkId, final Id< Link > endLinkId)
Definition:
GenericRouteFactory.java:30
org.matsim.core.population.routes.GenericRouteImpl
Definition:
GenericRouteImpl.java:27
org.matsim
org.matsim.api.core.v01.network.Link
Definition:
Link.java:34
org.matsim.core.population.routes.RouteFactory
Definition:
RouteFactory.java:35
org.matsim.api.core.v01
Definition:
BasicLocation.java:20
Generated by
1.8.13