Module shift

Source
Expand description

shift benchmark

The benchmark fetches all vertices that are not on the border of the map, fetch all identifiers of each respective vertices’ neighbors. Then, for all vertices:

  • compute the average between neighbors,
  • overwrite current vertex value with computed average.

This is done for a given number of rounds, to reach significant execution time and an accurate average.

Functions§

bench_shift