MATSIM
DefaultFlowEfficiencyCalculator.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 
9  @Override
10  public double calculateFlowEfficiency(QVehicle qVehicle, QVehicle previousQVehicle, Double timeGapToPreviousVeh, Link link, Id<Lane> laneId) {
11  return qVehicle.getVehicle().getType().getFlowEfficiencyFactor();
12  }
13 }
final double getFlowEfficiencyFactor()
double calculateFlowEfficiency(QVehicle qVehicle, QVehicle previousQVehicle, Double timeGapToPreviousVeh, Link link, Id< Lane > laneId)