MATSIM
RaptorIntermodalAccessEgress.java
Go to the documentation of this file.
1 /* *********************************************************************** *
2  * project: org.matsim.* *
3  *
4  * *
5  * *********************************************************************** *
6  * *
7  * copyright : (C) 2023 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 package ch.sbb.matsim.routing.pt.raptor;
21 
24 
26 
27 import java.util.List;
28 
32 public interface RaptorIntermodalAccessEgress {
33 
34  RIntermodalAccessEgress calcIntermodalAccessEgress(List<? extends PlanElement> legs, RaptorParameters params, Person person, Direction direction);
35 
37 
38  public final List<? extends PlanElement> routeParts;
39  public final double disutility;
40  public final double travelTime;
41  public final Direction direction;
42 
43  public RIntermodalAccessEgress(List<? extends PlanElement> planElements, double disutility, double travelTime, Direction direction) {
44  this.routeParts = planElements;
45  this.disutility = disutility;
46  this.travelTime = travelTime;
47  this.direction = direction;
48  }
49  }
50 }
RIntermodalAccessEgress(List<? extends PlanElement > planElements, double disutility, double travelTime, Direction direction)
RIntermodalAccessEgress calcIntermodalAccessEgress(List<? extends PlanElement > legs, RaptorParameters params, Person person, Direction direction)