MATSIM
FlowEfficiencyCalculator.java
Go to the documentation of this file.
1 package org.matsim.core.mobsim.qsim.qnetsimengine.flow_efficiency;
2 
3 import org.matsim.api.core.v01.Id;
6 import org.matsim.lanes.Lane;
7 
8 import javax.annotation.Nullable;
9 
13 public interface FlowEfficiencyCalculator {
14 
24  double calculateFlowEfficiency(QVehicle qVehicle, @Nullable QVehicle previousQVehicle, @Nullable Double timeGapToPreviousVeh, Link link, Id<Lane> laneId);
25 }
double calculateFlowEfficiency(QVehicle qVehicle, @Nullable QVehicle previousQVehicle, @Nullable Double timeGapToPreviousVeh, Link link, Id< Lane > laneId)