Navigation
API > API/Plugins > API/Plugins/LearningTraining
References
| Module | LearningTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningTraining/Public/LearningExperience.h |
| Include | #include "LearningExperience.h" |
Syntax
struct FReplayBuffer
Remarks
Large buffer that sequentially concatenates a series of episodes in a large flat array. Used to collate episodic data together from multiple instances.
Functions
| Type | Name | Description | |
|---|---|---|---|
| bool | AddEpisodes
(
const TLearningArrayView< 1, const ECompletionMode > InEpisodeCompletionModes, |
Add a set of episodes to the replay buffer | |
| const TLearningArrayView< 2, const float > | GetActions () |
||
| const TLearningArrayView< 1, const ECompletionMode > | |||
| const TLearningArrayView< 2, const float > | |||
| const TLearningArrayView< 1, const int32 > | |||
| const int32 | |||
| const TLearningArrayView< 1, const int32 > | |||
| const int32 | |||
| const int32 | |||
| const TLearningArrayView< 2, const float > | |||
| const TLearningArrayView< 1, const float > | GetRewards () |
||
| const int32 | GetStepNum () |
||
| void | Reset () |
Reset the replay buffer. Does not free memory - just resets episode and sample num to zero. | |
| void | Resize
(
const int32 InObservationVectorDimNum, |
Resizes the replay buffer. |