fairland: Compute spheres of influence
authorMarkus Armbruster <armbru@pond.sub.org>
Sun, 9 Aug 2020 15:13:33 +0000 (17:13 +0200)
committerMarkus Armbruster <armbru@pond.sub.org>
Tue, 5 Jan 2021 09:41:36 +0000 (10:41 +0100)
commit446005f84c546ea43f7f6f22d43e95cf22ec46e2
tree1643a054d25eebfd8c7263b8065a5ad104eec11a
parent5a13bef8e205ea7c9a069153768aa9dd96169eb5
fairland: Compute spheres of influence

A continent's sphere of influence is the set of sectors closer to it
than to any other continent.  The next commit needs this.  Compute the
spheres with a breadth-first search.

Signed-off-by: Markus Armbruster <armbru@pond.sub.org>
src/util/fairland.c