Navigation
API > API/Plugins > API/Plugins/LearningAgents > API/Plugins/LearningAgents/ULearningAgentsActions
References
| Module | LearningAgents |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Public/LearningAgentsActions.h |
| Include | #include "LearningAgentsActions.h" |
| Source | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgents/Private/LearningAgentsActions.cpp |
UFUNCTION (BlueprintPure, Category="LearningAgents", Meta=(AdvancedDisplay=3))
static FLearningAgentsActionSchemaElement SpecifyEitherAction
(
ULearningAgentsActionSchema * Schema,
const FLearningAgentsActionSchemaElement A,
const FLearningAgentsActionSchemaElement B,
const float PriorProbabilityOfA,
const FName Tag
)
Remarks
Specifies a new either action. This represents an action which is either action A or action B. The newly created action schema element.
Parameters
| Name | Description |
|---|---|
| Schema | The Action Schema |
| A | The sub-action A. |
| B | The sub-action B. |
| PriorProbabilityOfA | The prior probability of sampling action A over action B. |
| Tag | The tag of this new action. Used during action object validation and debugging. |