tess 1.0.0
Performance-first tile and path simulation substrate
Loading...
Searching...
No Matches
tess::PathAgentTickOptions Struct Reference

Configures per-tick movement, caching, and blocked-agent retry limits. More...

#include <tess/sim/path_agent_tick.h>

Public Attributes

std::size_t max_steps = 1
DirtyMask movement_dirty_mask {}
PathRuntimeCachePolicy cache_policy {}
std::uint32_t max_blocked_retries = 8
BlockedAgentExhaustionPolicy blocked_exhaustion_policy

Detailed Description

Configures per-tick movement, caching, and blocked-agent retry limits.

Member Data Documentation

◆ blocked_exhaustion_policy

BlockedAgentExhaustionPolicy tess::PathAgentTickOptions::blocked_exhaustion_policy
Initial value:
=
BlockedAgentExhaustionPolicy::RemainBlocked

◆ max_blocked_retries

std::uint32_t tess::PathAgentTickOptions::max_blocked_retries = 8

Budget of consecutive ticks spent retrying a Blocked agent.

Occupied and reserved destinations retry the retained step without an occupancy-blind search; route-invalidating failures re-search. The first movement failure records the block, and each following tick consumes one attempt until a successful move resets the count. At exhaustion the policy below either keeps the agent blocked without further path processing, or preserves the historical terminal transition.


The documentation for this struct was generated from the following file: