Skip to content

faq 268697605

Billy Charlton edited this page Sep 5, 2018 · 2 revisions

About scoring in carsharing

by wdg on 2018-04-20 07:32:30


Hi,

In the CarsharingLegScoringFunction.java, the scoring of carsharing leg is calculated by method "finish()" instead of "calcLegScore(double departureTime, double arrivalTime, Leg leg)", because the content of "calcLegScore" is annotated. I think ,if the content of "calcLegScore" is not annotated, both of them could be used to calculate scoring of carsharing leg. Is that right?

And In the method "finish()", the "getCost(RentalInfo rentalInfo)" is used. Is "scaleTOMatchCar * (inVehicleTime /60.0 * 0.3 + (rentalTIme - inVehicleTime) / 60.0 * 0.15) * marginalUtilityOfMoney" more suitable for calculating scoring of carsharing? There is a little difference between this and the equation shown in the  “MATSim Book” (22.3.4 Generalized Cost of Carsharing Travel).

Thank you.


Comments: 0

Clone this wiki locally