GeneticTS / docsProject documentation

Reference

Convergence Criteria and Observability

Look up syntax, contracts, layouts, algorithms, and exact behavior.

The simulator separates a lucky hit from a solved field. A generation is considered generation-solved only when the hit rate reaches the configured threshold. The overall scene is solved only after that condition holds for the configured number of consecutive generations.

solvedGen⁡(G)=∣{a∈G:a.hit}∣N≥0.75\operatorname{solvedGen}(G) = \frac{|\{a \in G : a.hit\}|}{N} \ge 0.75
Generation solved predicate. The default solved predicate requires at least 75% of the generation to hit the target.
st={st−1+1solvedGen⁡(Gt)0otherwises_t = \begin{cases}s_{t-1}+1 & \operatorname{solvedGen}(G_t)\\0 & \text{otherwise}\end{cases}
Solved streak. A scene is solved when the solved streak reaches the configured success-streak target.

The rendered surface exposes the state variables that matter: generation number, hit rate, best minimum distance, solved streak, current target, best trajectory, ghost trajectories, wind vector, and launch velocity. The visualization is not decorative; it is the diagnostic layer for the search process.