Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsObservations
Description
Specifies a new named exclusive discrete observation. This represents a discrete observation which is an exclusive selection from multiple choices.
| Name | SpecifyNamedExclusiveDiscreteObservation |
| Type | function |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsObservations.h |
| Include Path | #include "LearningAgentsObservations.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsObservations.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=2))
static FLearningAgentsObservationSchemaElement SpecifyNamedExclusiveDiscreteObservation
(
ULearningAgentsObservationSchema * Schema,
const TArray < FName > & ElementNames,
const FName Tag
)
The newly created observation schema element.
Parameters
| Name | Remarks |
|---|---|
| Schema | The Observation Schema |
| ElementNames | The names of the discrete options in the observation. |
| Tag | The tag of this new observation. Used during observation object validation and debugging. |