Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining
| Name | ULearningAgentsCompletions |
| Type | class |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsCompletions.h |
| Include Path | #include "LearningAgentsCompletions.h" |
Syntax
UCLASS (MinimalAPI, BlueprintType)
class ULearningAgentsCompletions : public UBlueprintFunctionLibrary
Inheritance Hierarchy
- UObjectBase → UObjectBaseUtility → UObject → UBlueprintFunctionLibrary → ULearningAgentsCompletions
Functions
Static
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
static ELearningAgentsCompletion CompletionAnd
(
ELearningAgentsCompletion A, |
Returns a termination if both inputs are a termination, otherwise a truncation if both inputs are either a truncation or termination, otherwise returns running. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion CompletionNot
(
ELearningAgentsCompletion A, |
Returns running if the input A is either a termination or truncation, otherwise returns the completion specified by NotRunningType | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion CompletionOr
(
ELearningAgentsCompletion A, |
Returns a termination if either input is a termination, otherwise a truncation if either input is a truncation, otherwise returns running. | LearningAgentsCompletions.h |
|
static bool IsCompletionCompleted
(
const ELearningAgentsCompletion Completion |
Returns true if a completion is either truncated or terminated, otherwise false. | LearningAgentsCompletions.h |
|
static bool IsCompletionRunning
(
const ELearningAgentsCompletion Completion |
Returns true if a completion is running, otherwise false. | LearningAgentsCompletions.h |
|
static bool IsCompletionTermination
(
const ELearningAgentsCompletion Completion |
Returns true if a completion is terminated, otherwise false. | LearningAgentsCompletions.h |
|
static bool IsCompletionTruncation
(
const ELearningAgentsCompletion Completion |
Returns true if a completion is truncated, otherwise false. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion MakeCompletion
(
const ELearningAgentsCompletion CompletionType, |
Make a completion. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion MakeCompletionOnCondition
(
const bool bCondition, |
Make a completion based on some condition. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion MakeCompletionOnEpisodeStepsRecorded
(
const int32 EpisodeSteps, |
Make a completion when the number of episode steps recorded exceeds some threshold. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion MakeCompletionOnLocationDifferenceAboveThreshold
(
const FVector LocationA, |
Make a completion when the distance between two locations is above some threshold. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion MakeCompletionOnLocationDifferenceBelowThreshold
(
const FVector LocationA, |
Make a completion when the distance between two locations is below some threshold. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion MakeCompletionOnLocationOutsideBounds
(
const FVector Location, |
Make a completion when a location moves outside of sound bounds. | LearningAgentsCompletions.h |
|
static ELearningAgentsCompletion MakeCompletionOnTimeElapsed
(
const float Time, |
Make a completion when a time goes above a threshold. | LearningAgentsCompletions.h |
|