Coordinate.update

Given a round-trip time observation for another node at other, updates the estimated position of this Coordinate.

The adjustment parameters are used for hybrid coordinates. See Node.

struct Coordinate(size_t dims, double maxError = 1.5, double minHeight = 1.0e-5, double ce = 0.25, double cc = 0.25, double rho = 150.0)
nothrow @safe @nogc
void
update
(
const ref Coordinate other
,
double rtt
,
const double localAdjustment = 0.0
,
const double remoteAdjustment = 0.0
)
if (
dims > 0 &&
isValid01!ce
&&
isValid01!cc
&&
isFinite(rho)
&&
rho > 0.0
)

Meta