Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsPolicy
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsPolicy.h |
| Include | #include "LearningAgentsPolicy.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsPolicy.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents")
void EvaluatePolicy()
Remarks
Calling this function will run the underlying neural network on the previously encoded observations to populate the encoded actions. This should be called after EncodeObservations and before DecodeAndSampleActions.