Navigation
API > API/Plugins > API/Plugins/LearningAgentsTraining
Inheritance Hierarchy
- UObjectBase
- UObjectBaseUtility
- UObject
- ULearningAgentsReward
- ULocalDirectionalVelocityReward
References
| Module | LearningAgentsTraining |
| Header | /Engine/Plugins/Experimental/LearningAgents/Source/LearningAgentsTraining/Public/LearningAgentsRewards.h |
| Include | #include "LearningAgentsRewards.h" |
Syntax
UCLASS&40;&41;
class ULocalDirectionalVelocityReward : public ULearningAgentsReward
Remarks
A reward for maximizing velocity along a given local axis.
Variables
| Type | Name | Description | |
|---|---|---|---|
| TSharedPtr< UE::Learning::FLocalDirectionalVelocityReward > | RewardObject |
Functions
| Type | Name | Description | |
|---|---|---|---|
| ULocalDirectionalVelocityReward * | AddLocalDirectionalVelocityReward
(
ULearningAgentsTrainer* InAgentTrainer, |
Adds a new directional velocity reward to the given trainer. | |
| void | SetLocalDirectionalVelocityReward
(
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. |