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

A collection of template Behavior Trees for initial population and additional node randomization. More...

#include <BTTemplateCollection.h>

Inheritance diagram for UBTTemplateCollection:

Public Member Functions

void VerifyTemplates ()
 
void MapTemplates (UNodeMapper *nodeMapper)
 
int GetNumInitialTemplates ()
 
UBehaviorTree * GetInitialTemplate (int idx)
 
UBehaviorTree * GetInitialTemplateByID (FString behaviorTreePath)
 

Protected Member Functions

void MapTemplates (TArray< UBehaviorTree * > &templates, UNodeMapper *nodeMapper)
 

Detailed Description

A collection of template Behavior Trees for initial population and additional node randomization.

Author
npc
Date
12/04/17

You can add Behavior Trees to the properties of this object in the Editor, and it will provide the random initial templates for the starting population.

The "extra templates" will be turned into extra random nodes to be available in the NodeMapper for mutation.


The documentation for this class was generated from the following files:
  • Source/EvolvingBehavior/Public/GeneticProgramming/BTTemplateCollection.h
  • Source/EvolvingBehavior/Private/GeneticProgramming/BTTemplateCollection.cpp