Navigation
API > API/Plugins > API/Plugins/Learning
Settings for the PSO Optimizer. Defaults from https://www.jstage.jst.go.jp/article/imt/3/1/3_1_103/_pdf/-char/ja
| Name | FPSOOptimizerSettings |
| Type | struct |
| Header File | /Engine/Plugins/Experimental/LearningAgents/Source/Learning/Public/LearningPSOOptimizer.h |
| Include Path | #include "LearningPSOOptimizer.h" |
Syntax
struct FPSOOptimizerSettings
Variables
Public
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| GlobalGain | float | Amount to pull particles toward the global best. | LearningPSOOptimizer.h | |
| LocalGain | float | Amount to pull particles toward their local best. | LearningPSOOptimizer.h | |
| Momentum | float | How much of the particle velocity to preserve between steps. | LearningPSOOptimizer.h |