Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsPolicy
Overloads
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TLearningArrayView< 2, const float > GetMemoryState () |
Get a const view to this policy's memory state. | LearningAgentsPolicy.h | |
void GetMemoryState
(
TArray< float >& OutMemoryState, |
Gets the current memory state for a given agent as represented by an abstract vector learned by the policy. | LearningAgentsPolicy.h |
|
GetMemoryState()
Description
Get a const view to this policy's memory state.
| Name | GetMemoryState |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsPolicy.h |
| Include Path | #include "LearningAgentsPolicy.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsPolicy.cpp |
TLearningArrayView< 2, const float > GetMemoryState() const
GetMemoryState(TArray< float > &, const int32)
Description
Gets the current memory state for a given agent as represented by an abstract vector learned by the policy.
| Name | GetMemoryState |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsPolicy.h |
| Include Path | #include "LearningAgentsPolicy.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsPolicy.cpp |
UFUNCTION (BlueprintCallable, Category="LearningAgents", Meta=(AgentId=1))
void GetMemoryState
(
TArray < float > & OutMemoryState,
const int32 AgentId
) const
Parameters
| Name | Remarks |
|---|---|
| OutMemoryState | The output memory state of the agent |
| AgentId | The AgentId to get the memory state of |