-
Notifications
You must be signed in to change notification settings - Fork 179
faq 268697605
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.
You are viewing an archive of the previous MATSim Q&A site. The real site is now at https://matsim.org/faq