Julia Implementation#

kleinberg_grid_simulator.julia_implementation.julia_edt.julia_edt(n=1000, r=2, p=1, q=1, n_runs=10000)[source]#

Julia-based computation of the expected delivery time (edt).

Parameters:
  • n (int, default=1000) – Grid siDe

  • r (float, default=2.0) – Shortcut exponent

  • p (int, default=1) – Local range

  • q (int, default=1) – Number of shortcuts

  • n_runs (int, default=10000) – Number of routes to compute

Returns:

The expected number of steps to go from one point of the grid to another point of the grid.

Return type:

Result