Skip to content

Commit 0cf3de5

Browse files
committed
specify comment
1 parent cd68bcd commit 0cf3de5

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

contribs/parking/src/main/java/org/matsim/contrib/parking/parkingsearchparameterization/BellochePenaltyFunction.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -32,6 +32,11 @@ public double calculateParkingSearchTime(Map<Id<Link>, ParkingCount> parkingCoun
3232
// destination link does not support parking, for example on a motorway.
3333
// In that case, parking search is considered not applicable and no penalty is applied.
3434
// To model parking scarcity, provide an explicit positive parking capacity.
35+
// A parking-free area must be represented by relocating the parking destination
36+
// to a link outside that area. This function does not perform that relocation.
37+
// Once relocated, the search-time penalty is calculated from the parking supply
38+
// and occupancy around the actual parking link. Therefore, returning zero here is
39+
// appropriate when the considered kernel contains no applicable parking capacity.
3540
return 0.0;
3641
}
3742

0 commit comments

Comments
 (0)