Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsImitationTrainer
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsImitationTrainer.h |
| Include | #include "LearningAgentsImitationTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsImitationTrainer.cpp |
void SetupImitationTrainer
(
ULearningAgentsManager * InManager,
ULearningAgentsInteractor * InInteractor,
ULearningAgentsPolicy * InPolicy,
const FLearningAgentsCommunicator & Communicator
)
Remarks
Initializes the imitation trainer and runs the setup functions.
Parameters
| Name | Description |
|---|---|
| InManager | The agent manager we are using. |
| InInteractor | The agent interactor we are recording with. |
| InPolicy | The policy we are using. |
| InCommunicator | The communicator. |