MATSIM
facilities
algorithms
AbstractFacilityAlgorithm.java
Go to the documentation of this file.
1
/* *********************************************************************** *
2
* project: org.matsim.*
3
* FacilityAlgorithm.java
4
* *
5
* *********************************************************************** *
6
* *
7
* copyright : (C) 2008 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.facilities.algorithms;
22
23
import
org
.
matsim
.
facilities
.
ActivityFacilities
;
24
import
org
.
matsim
.
facilities
.
ActivityFacility
;
25
26
public
abstract
class
AbstractFacilityAlgorithm
implements
FacilityAlgorithm
{
27
28
public
void
run
(
final
ActivityFacilities
facilities) {
29
for
(
ActivityFacility
f : facilities.
getFacilities
().values()) {
30
run
(f);
31
}
32
}
33
34
}
org.matsim.facilities.ActivityFacility
Definition:
ActivityFacility.java:28
org.matsim.facilities.ActivityFacilities.getFacilities
Map< Id< ActivityFacility >, ? extends ActivityFacility > getFacilities()
org.matsim.facilities
Definition:
ActivityFacilities.java:20
org
org.matsim.facilities.algorithms.FacilityAlgorithm
Definition:
FacilityAlgorithm.java:25
org.matsim.facilities.algorithms.AbstractFacilityAlgorithm.run
void run(final ActivityFacilities facilities)
Definition:
AbstractFacilityAlgorithm.java:28
org.matsim.facilities.ActivityFacilities
Definition:
ActivityFacilities.java:35
org.matsim.facilities.algorithms.AbstractFacilityAlgorithm
Definition:
AbstractFacilityAlgorithm.java:26
org.matsim
Generated by
1.8.13