simulate

Runs a number of cycles using the provided nodes and a matrix of true latencies among them.

On each cycle, each node will choose a random peer and observe the true round-trip time, updating its coordinate estimate.

@safe
void
simulate
(
T
size_t window
size_t n
)
(
ref T[n] nodes
,
double[n][n] matrix
,
uint cycles
)

Meta