Skip to content

Struct FImitationAgentState

Struct FImitationAgentState

  • Defined in File ImitationAgentState.h
struct FImitationAgentState

Source: Source/Schola/Imitation/Public/ImitationDataTypes/ImitationAgentState.h

Dependencies: FPoint

Struct representing imitation state received from external source.

Contains observations, actions, rewards, and completion flags for imitation learning. This represents the full state for a single agent during one step of expert demonstration.


Public Functions

SymbolDetails
EmptyReset all fields to their default values.

Empty

inline void Empty()

Reset all fields to their default values.

Clears observations, actions, resets reward, completion flags, and empties info map.

Attributes: inline

Source: Source/Schola/Imitation/Public/ImitationDataTypes/ImitationAgentState.h


Public Members

SymbolDetails
ObservationsObservations received by the agent in the current state.
ActionsExpert actions provided for the agent to follow.
RewardReward signal received for the current state.
bTerminatedFlag indicating whether the episode has completed normally.
bTruncatedFlag indicating whether the episode was truncated (e.g., timeout).
InfoAdditional metadata as key-value pairs.

Observations

TInstancedStruct<FPoint> Observations

Observations received by the agent in the current state.


Actions

TInstancedStruct<FPoint> Actions

Expert actions provided for the agent to follow.


Reward

float Reward = 0.0f

Reward signal received for the current state.


bTerminated

bool bTerminated = false

Flag indicating whether the episode has completed normally.


bTruncated

bool bTruncated = false

Flag indicating whether the episode was truncated (e.g., timeout).


Info

TMap<FString, FString> Info

Additional metadata as key-value pairs.