|
tess 1.0.0
Performance-first tile and path simulation substrate
|
#include <tess/topology/topology.h>
Public Attributes | |
| std::size_t | region_count = 0 |
| std::size_t | passable_tile_count = 0 |
| std::size_t | boundary_exit_count = 0 |
| std::uint64_t | topology_version_sum = 0 |
Counts returned by a whole-graph build.
Deliberately carries no status, unlike TopologyBuildResult. build_region_graph cannot fail: the dense branch iterates keys 0..chunk_count so InvalidChunk cannot arise and MissingChunk does not exist under AlwaysResident, and the sparse branch builds from resident_chunk_keys(), which are in-world and resident by construction. Sharing a status-bearing type with the operations that CAN fail invited callers to write if (result.status != Built) against a value that is invariantly Built – and they did, across six test files.