Skip to content

FEnvironmentState

Environment state during training.

Contains states for all agents and the overall environment status.

struct FEnvironmentState

Methods

MarkActive

inline void MarkActive()

Mark the environment as active.


MarkCompleted

inline void MarkCompleted()

Mark the environment as completed.


IsEnvironmentActive

inline bool IsEnvironmentActive()

Check if the environment is currently active.


IsEnvironmentCompleted

inline bool IsEnvironmentCompleted()

Check if the environment has completed.


FEnvironmentState

inline FEnvironmentState()

Default constructor.

Attributes

AgentStates

TMap<FString, FAgentState> AgentStates

Map of agent IDs to their current states.


EnvironmentStatus

EEnvironmentStatus EnvironmentStatus = EEnvironmentStatus::Active

The current status of the environment (e.g.

Source: Source/ScholaTraining/Public/TrainingDataTypes/EnvironmentState.h