Skip to content

FImitationState

Struct combining both imitation state and initial state.

Encapsulates both the current training state (observations, actions, rewards) and optional initial state information when environments reset. This is used for communication between the connector and external training systems.

struct FImitationState

Attributes

TrainingState

FImitationTrainingState TrainingState

The training state containing observations, expert actions, and rewards for all environments.


InitialState

FInitialState InitialState

Optional initial state data populated when environments reset.


bHasInitialState

bool bHasInitialState = false

Flag indicating whether InitialState contains valid data.

Source: Source/ScholaImitation/Public/ImitationDataTypes/ImitationState.h