feat(factor): introduce VarId and VarStore

Foundation types for the T1 factor graph machinery. VarStore is a
flat Vec<Gaussian> indexed by VarId; variables are allocated by
alloc() and the store can be cleared between games to reuse capacity.

Part of T1 of docs/superpowers/specs/2026-04-23-trueskill-engine-redesign-design.md.
This commit is contained in:
2026-04-24 08:09:25 +02:00
parent fa85bcee51
commit dac4427b65
2 changed files with 95 additions and 0 deletions

View File

@@ -13,6 +13,7 @@ pub(crate) mod arena;
pub mod batch;
pub mod drift;
mod error;
pub(crate) mod factor;
mod game;
pub mod gaussian;
mod history;