pub fn select_best_path(
paths: &[PathCandidate],
current: Option<&PathCandidate>,
) -> Option<PathCandidate>Expand description
Select the best path from candidates
Algorithm:
- Prefer direct paths over relay paths
- Among same type, prefer lower RTT
- Apply IPv6 advantage (3ms)
- Apply hysteresis (5ms) when switching from current path