|
tess 1.0.0
Performance-first tile and path simulation substrate
|
Reusable storage for deterministic local move coordination. More...
#include <tess/spatial/local_coordination.h>
Public Member Functions | |
| void | reserve (std::size_t request_count, std::size_t option_count) |
Friends | |
| template<typename CanEnterFn> | |
| auto | resolve_local_moves (std::span< const LocalMoveRequest > requests, std::span< const LocalMoveOption > options, CanEnterFn &&can_enter, LocalCoordinationScratch &scratch) -> LocalCoordinationResult |
Reusable storage for deterministic local move coordination.
|
friend |
Resolves caller-filtered local destinations by priority and stable agent ID.
This resolver is intended for bounded local cohorts. Duplicate options are removed within each request, and ordered claims are inserted into a compact scratch vector; the worst case is quadratic in the largest per-request option count and in the request count.