public double transitionLogProbability ( double routeLength , double linearDistance ) { // Transition metric taken from Newson & Krumm. Double transitionMetric = Math . abs ( linearDistance - routeLength ) ; return Distributions . logExponentialDistribution ( beta , transitionMetric ) ; }
Returns the logarithmic transition probability density for the given transition parameters .