SmartEngine  1.6.0
Public Attributes | List of all members
SmartEngine::ChoiceNodeCInfo Struct Reference

Data used to construct a choice node instance More...

#include <CommonNodes.h>

Inheritance diagram for SmartEngine::ChoiceNodeCInfo:
SmartEngine::GraphNodeCInfo

Public Attributes

IGraphNodeinput = nullptr
 Node to choose from. This should have no activation applied when using a random decision algorithm. More...
 
ChoiceType type = ChoiceType::Random
 The decision algorithm to use. More...
 
int axis = 1
 Axis to take choices from. 0 = row, 1 = column More...
 
- Public Attributes inherited from SmartEngine::GraphNodeCInfo
const char * name = nullptr
 The name of this node. More...
 
IContextcontext = nullptr
 Context this node belongs to. Only graph nodes of the same context can be connected. More...
 

Detailed Description

Data used to construct a choice node instance

Member Data Documentation

◆ axis

int SmartEngine::ChoiceNodeCInfo::axis = 1

Axis to take choices from. 0 = row, 1 = column

◆ input

IGraphNode* SmartEngine::ChoiceNodeCInfo::input = nullptr

Node to choose from. This should have no activation applied when using a random decision algorithm.

◆ type

ChoiceType SmartEngine::ChoiceNodeCInfo::type = ChoiceType::Random

The decision algorithm to use.