Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULearningAgentsReward
- UPositionArraySimilarityReward
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRewards.h |
| Include | #include "LearningAgentsRewards.h" |
Syntax
UCLASS&40;&41;
class UPositionArraySimilarityReward : public ULearningAgentsReward
Remarks
A reward for minimizing the distances of positions in the given arrays.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Learning::FPositionArraySimilarityReward > | RewardObject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| UPositionArraySimilarityReward * | AddPositionArraySimilarityReward
(
ULearningAgentsTrainer* InAgentTrainer, |
Adds a new position array similarity reward to the given trainer. | |
| void | SetPositionArraySimilarityReward
(
const int32 AgentId, |
Sets the data for this reward. |
Overridden from ULearningAgentsReward
| Type | Name | Description | |
|---|---|---|---|
| void | VisualLog
(
const UE::Learning::FIndexSet Instances |
Describes this reward to the visual logger for debugging purposes. |