Randomly modifies a property value in a generated task node. More...
#include <PerturbPropertyInTaskMutator.h>
Public Member Functions | |
void | Init (UServiceInjector *injector) override |
virtual UBTChromosome * | Mutate (UBTChromosome *chromosome, TArray< UBTChromosome * > parents, int primaryParent) |
virtual void | Init (UServiceInjector *injector) |
Additional Inherited Members | |
Public Attributes inherited from UMutator | |
virtual UBTChromosome * | Mutate (UBTChromosome *chromosome, TArray< UBTChromosome * > parents, int primaryParent) PURE_VIRTUAL(UMutator |
Protected Attributes inherited from UMutator | |
UServiceInjector * | serviceInjector |
Randomly modifies a property value in a generated task node.
If numeric, by adding a random number sampled from a gaussian distribution.
Otherwise, it will pick a new random value from the available options.
|
overridevirtual |
Reimplemented from UMutator.