WorldModelsTrainingCycle

Models & Types · AiDotNet.ReinforcementLearning.Agents.WorldModels

Where a WorldModelsAgent stands in its V -> M -> C training cycle.

How It Works

Plain data so it travels with the agent through Clone and serialization: a copy taken mid-stage resumes the same epoch order and, in the Controller stage, the same CMA-ES search.

Constructors

Constructor Summary
WorldModelsTrainingCycle()

Properties

Property Summary
CMAESSearchState ControllerSearch { get; set; } Gets or sets the Controller stage’s CMA-ES search, or null outside that stage.
List<int> EpochOrder { get; set; } Gets or sets the shuffled replay slots (Vision) or window starts (Memory) of the current epoch.
WorldModelsTrainingStage Stage { get; set; } Gets or sets the stage the next Train() call runs.
bool StagePrepared { get; set; } Gets or sets whether the current stage’s epoch order has been drawn.
int EpochCursor { get; set; } Gets or sets the position in EpochOrder of the next batch.
int EpochsCompleted { get; set; } Gets or sets the number of epochs the current stage has completed.