[][src]Function vivaldi::estimate_rtt

pub fn estimate_rtt<V: Vector>(a: &Coordinate<V>, b: &Coordinate<V>) -> Duration

Returns an estimate round-trip time given two coordinates.

If A and B have communicated recently, the local node can estimate the latency between them with a high degree of accuracy.

If the nodes represented by A and B have never communicated the estimation will still be fairly accurate given a sufficiently mature, dense model.