Navigation
API > API/Plugins > API/Plugins/LearningAgents
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULearningAgentsObservation
- UFloatArrayObservation
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include | #include "LearningAgentsObservations.h" |
Syntax
UCLASS&40;&41;
class UFloatArrayObservation : public ULearningAgentsObservation
Remarks
A simple array of floats observation. Used as a catch-all for situations where a more type-specific observation does not exist yet.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Learning::FFloatFeature > | FeatureObject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UFloatArrayObservation * | AddFloatArrayObservation
(
ULearningAgentsInteractor* InInteractor, |
Adds a new float array observation to the given agent interactor. | |
| void | SetFloatArrayObservation
(
const int32 AgentId, |
Sets the data for this observation. |
Overridden from ULearningAgentsObservation
| Type | Name | Description | |
|---|---|---|---|
| void | VisualLog
(
const UE::Learning::FIndexSet Instances |
Describes this observation to the visual logger for debugging purposes. |