Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining > API/Plugins/LearningAgentsTraining/ULearningAgentsRecorder
Basic structure used to buffer the observations and actions of each agent.
| Name | FAgentRecordBuffer |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRecorder.h |
| Include Path | #include "LearningAgentsRecorder.h" |
Syntax
struct FAgentRecordBuffer
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
| LearningAgentsRecorder.h | |||
FAgentRecordBuffer
(
const int32 InObservationCompatibilityHash, |
LearningAgentsRecorder.h |
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ActionCompatibilityHash | int32 | LearningAgentsRecorder.h | ||
| Actions | TArray< TLearningArray< 2, float >, TInlineAllocator< 16 > > | LearningAgentsRecorder.h | ||
| ActionSchema | UE::Learning::Action::FSchema | LearningAgentsRecorder.h | ||
| ActionSchemaElement | UE::Learning::Action::FSchemaElement | LearningAgentsRecorder.h | ||
| ChunkSize | const int32 | LearningAgentsRecorder.h | ||
| ObservationCompatibilityHash | int32 | LearningAgentsRecorder.h | ||
| Observations | TArray< TLearningArray< 2, float >, TInlineAllocator< 16 > > | LearningAgentsRecorder.h | ||
| ObservationSchema | UE::Learning::Observation::FSchema | LearningAgentsRecorder.h | ||
| ObservationSchemaElement | UE::Learning::Observation::FSchemaElement | LearningAgentsRecorder.h | ||
| StepNum | int32 | LearningAgentsRecorder.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
void CopyToRecord
(
FLearningAgentsRecord& Record |
LearningAgentsRecorder.h | ||
void Empty() |
LearningAgentsRecorder.h | ||
TLearningArrayView< 1, float > GetAction
(
const int32 SampleIdx |
LearningAgentsRecorder.h | ||
TLearningArrayView< 1, const float > GetAction
(
const int32 SampleIdx |
LearningAgentsRecorder.h | ||
TLearningArrayView< 1, float > GetObservation
(
const int32 SampleIdx |
LearningAgentsRecorder.h | ||
TLearningArrayView< 1, const float > GetObservation
(
const int32 SampleIdx |
LearningAgentsRecorder.h | ||
bool IsEmpty() |
LearningAgentsRecorder.h | ||
void Push
(
const TLearningArrayView< 1, const float > Observation, |
LearningAgentsRecorder.h |