Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsPPOTrainer
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsPPOTrainer.h |
| Include | #include "LearningAgentsPPOTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsPPOTrainer.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents",
Meta=(AutoCreateRefTerm="TrainerTrainingSettings,TrainingGameSettings,TrainerPathSettings"))
void BeginTraining
(
const FLearningAgentsPPOTrainingSettings & TrainerTrainingSettings,
const FLearningAgentsTrainingGameSettings & TrainingGameSettings,
const bool bResetAgentsOnBegin
)
Remarks
Begins the training process with the provided settings.
Parameters
| Name | Description |
|---|---|
| TrainerTrainingSettings | The settings for this training run. |
| TrainingGameSettings | The settings that will affect the game's simulation. |
| bResetAgentsOnBegin | If true, reset all agents at the beginning of training. |