Skip to content

FTrainerConfiguration

struct FTrainerConfiguration

Struct containing the properties that define a trainer.

Public Interface

Public Members:

bool bTakeActionBetweenDecisions

bool bTakeActionBetweenDecisions = = true

If true the agent will repeat its last action each step between decision requests.

Source: Schola/Source/Schola/Public/Training/TrainerConfiguration.h (line 20, column 6)

bool bUseCustomName

bool bUseCustomName = = false

The name of the agent, used for logging, and grouping agents in rllib.

Source: Schola/Source/Schola/Public/Training/TrainerConfiguration.h (line 24, column 6)

FString Name

FString Name

The name of the agent, used for logging, and grouping agents in rllib.

Source: Schola/Source/Schola/Public/Training/TrainerConfiguration.h (line 28, column 9)

int DecisionRequestFrequency

int DecisionRequestFrequency = = 5

The number of steps between requests for new actions.

If this is different across agents it may cause issues training in some frameworks (e.g. Stable Baselines 3).

Source: Schola/Source/Schola/Public/Training/TrainerConfiguration.h (line 32, column 5)

EValidationType Validation

EValidationType Validation = = EValidationType::FAIL

The type of validation to perform on this agent.

Fail means agent is skipped on any error. Warning means just warn about non-fatal errors. Set to No Validation to skip validation

Source: Schola/Source/Schola/Public/Training/TrainerConfiguration.h (line 36, column 17)

Used By: AAbstractTrainer

Source: Schola/Source/Schola/Public/Training/TrainerConfiguration.h (line 13, column 1)