SkimMatrix¶
-
public interface
SkimMatrix
¶ Skim matrix for storing inter-zonal travel times or costs (for passenger vehicles).
Author: Milan Lovric
Methods¶
getAbsoluteDifference¶
-
public double
getAbsoluteDifference
(SkimMatrix other)¶ Gets sum of absolute differences between elements of two matrices.
Parameters: - other – The other matrix.
Returns: Sum of absolute differences.
getCost¶
getCost¶
-
public double
getCost
(int originZoneID, int destinationZoneID)¶ Gets cost for a given origin-destination pair using int zone IDs.
Parameters: - originZone – Origin zone ID.
- destinationZone – Destination zone ID.
Returns: Origin-destination cost.