Converts a Behavior Tree to a Chromosome for evolution. More...
#include <BehaviorTreeToGeneConverter.h>
Public Member Functions | |
void | Init (UServiceInjector *injector) |
UBTChromosome * | Convert (UObject *outer, const UBehaviorTree *behaviorTree) const |
Protected Member Functions | |
UBTCompositeNodeGene * | Convert (UObject *outer, const UBTCompositeNode *node) const |
UBTTaskNodeGene * | Convert (UObject *outer, const UBTTaskNode *node) const |
void | ConvertAndAddServices (UBTCompositeNodeGene *compositeGene, const UBTCompositeNode *compositeNode) const |
void | ConvertAndAddServices (UBTTaskNodeGene *taskGene, const UBTTaskNode *taskNode) const |
void | ConvertAndAddDecorators (UBTChildContainerGene *childGene, const FBTCompositeChild childNode) const |
UBTServiceGene * | Convert (UObject *outer, const UBTService *node) const |
UBTDecoratorGene * | Convert (UObject *outer, const UBTDecorator *node) const |
void | AddRootDecorators (UBTChromosome *chromosome, const UBehaviorTree *behaviorTree) const |
Converts a Behavior Tree to a Chromosome for evolution.
At the moment, this conversion does not support:
We hope to support these in future versions.