Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsTrainer
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsTrainer.h |
| Include | #include "LearningAgentsTrainer.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsTrainer.cpp |
UFUNCTION&40;BlueprintPure, Category&61;"LearningAgents", Meta&61;&40;AgentId&61;"&45;1"&41;&41;
bool IsCompleted
&40;
const int32 AgentId,
ELearningAgentsCompletion & OutCompletion
&41; const
Remarks
Gets if the agent will complete the episode or not according to the given set of completions. Should be called only after EvaluateCompletions. If the agent will complete the episode
Parameters
| Name | Description |
|---|---|
| AgentId | The AgentId to look-up the completion for |
| OutCompletion | The completion type if the agent will complete the episode |