MATSIM
core
mobsim
qsim
TeleportationModule.java
Go to the documentation of this file.
1
2
/* *********************************************************************** *
3
* project: org.matsim.*
4
* TeleportationModule.java
5
* *
6
* *********************************************************************** *
7
* *
8
* copyright : (C) 2019 by the members listed in the COPYING, *
9
* LICENSE and WARRANTY file. *
10
* email : info at matsim dot org *
11
* *
12
* *********************************************************************** *
13
* *
14
* This program is free software; you can redistribute it and/or modify *
15
* it under the terms of the GNU General Public License as published by *
16
* the Free Software Foundation; either version 2 of the License, or *
17
* (at your option) any later version. *
18
* See also COPYING, LICENSE and WARRANTY file *
19
* *
20
* *********************************************************************** */
21
22
package
org.matsim.core.mobsim.qsim;
23
24
public
class
TeleportationModule
extends
AbstractQSimModule
{
25
public
final
static
String
COMPONENT_NAME
=
"TeleportationEngine"
;
26
27
@Override
28
protected
void
configureQSim
() {
29
bind(
DefaultTeleportationEngine
.class).asEagerSingleton();
30
addQSimComponentBinding
( COMPONENT_NAME ).to(
DefaultTeleportationEngine
.class );
31
}
32
}
org.matsim.core.mobsim.qsim.TeleportationModule
Definition:
TeleportationModule.java:24
org.matsim.core.mobsim.qsim.AbstractQSimModule
Definition:
AbstractQSimModule.java:39
org.matsim.core.mobsim.qsim.AbstractQSimModule.addQSimComponentBinding
final LinkedBindingBuilder< QSimComponent > addQSimComponentBinding(Annotation annotation)
Definition:
AbstractQSimModule.java:46
org.matsim.core.mobsim.qsim.TeleportationModule.COMPONENT_NAME
static final String COMPONENT_NAME
Definition:
TeleportationModule.java:25
org.matsim.core.mobsim.qsim.DefaultTeleportationEngine
Definition:
DefaultTeleportationEngine.java:53
org.matsim.core.mobsim.qsim.TeleportationModule.configureQSim
void configureQSim()
Definition:
TeleportationModule.java:28
Generated by
1.8.13