Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsRecorder
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRecorder.h |
| Include | #include "LearningAgentsRecorder.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Private/LearningAgentsRecorder.cpp |
UFUNCTION&40;BlueprintCallable, Category&61;"LearningAgents"&41;
void AddExperience&40;&41;
Remarks
While recording, adds the current observations and actions of the added agents to the internal buffer. Call this after ULearningAgentsInteractor::EncodeObservations and either ULearningAgentsController::EncodeActions (if recording a human/AI demonstration) or ULearningAgentsInteractor::DecodeActions (if recording another policy).