EvolvingBehavior  0.2.0
 
Loading...
Searching...
No Matches
UBehaviorTreeToGeneConverter Class Reference

Converts a Behavior Tree to a Chromosome for evolution. More...

#include <BehaviorTreeToGeneConverter.h>

Inheritance diagram for UBehaviorTreeToGeneConverter:

Public Member Functions

void Init (UServiceInjector *injector)
 
UBTChromosomeConvert (UObject *outer, const UBehaviorTree *behaviorTree) const
 

Protected Member Functions

UBTCompositeNodeGeneConvert (UObject *outer, const UBTCompositeNode *node) const
 
UBTTaskNodeGeneConvert (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
 
UBTServiceGeneConvert (UObject *outer, const UBTService *node) const
 
UBTDecoratorGeneConvert (UObject *outer, const UBTDecorator *node) const
 
void AddRootDecorators (UBTChromosome *chromosome, const UBehaviorTree *behaviorTree) const
 

Detailed Description

Converts a Behavior Tree to a Chromosome for evolution.

Author
npc
Date
12/01/17

At the moment, this conversion does not support:

  • UDecoratorOps
  • Services
  • Composite Decorators
  • Subtree Task Nodes

We hope to support these in future versions.


The documentation for this class was generated from the following files: