Add exact periodic neighborhood queries and measured scan baseline

This commit is contained in:
dingo
2026-09-19 19:21:45 -04:00
parent be4382472c
commit 9b19509673
15 changed files with 442 additions and 7 deletions
+10
View File
@@ -0,0 +1,10 @@
#pragma once
#include "evo/simulation/world.hpp"
namespace evo {
// Read-only point-radius query on the proof torus. Inclusive radius, ascending
// IDs, no implicit self exclusion. Caller must provide a stable world.
[[nodiscard]] std::expected<std::vector<EntityId>, Error>
query_neighbors(const SimulationWorld& world, Position2 center, Millimetres radius);
} // namespace evo