Class DistanceTransitionProbabilityStrategy<O,V,T>

java.lang.Object
com.here.platform.location.core.mapmatching.internal.TransitionProbabilityStrategyBase<O,V,T>
com.here.platform.location.core.mapmatching.DistanceTransitionProbabilityStrategy<O,V,T>
Type Parameters:
O - The observation type
All Implemented Interfaces:
com.here.platform.location.core.mapmatching.TransitionProbabilityStrategy<O,V,T>

public class DistanceTransitionProbabilityStrategy<O,V,T> extends com.here.platform.location.core.mapmatching.internal.TransitionProbabilityStrategyBase<O,V,T>
Calculates transition probability values based on the length of the route between projected points.

Specifically, it calculates the straight-line distance between observations and the length of the shortest route connecting each pair of projected points, then calculates the difference between these values and turns it into log(probability) values with probabilityDistribution.

param: calculateDistanceAndTransitions Calculates distances from a start to multiple destinations optionally returning transitions as well