docs: public double transitionLogProbability(double routeLength, double linearDistance) {
          // Transition metric taken from Newson & Krumm.
          Double transitionMetric = Math.abs(linearDistance - routeLength);
  
          return Distributions.logExponentialDistribution(beta, transitionMetric);
      }