Qualia  0.2
Public Member Functions | Public Attributes | Static Public Attributes | List of all members
BehaviorTree::WeightedBehaviorTreeNode Struct Reference

#include <ProbabilityNode.h>

Collaboration diagram for BehaviorTree::WeightedBehaviorTreeNode:
Collaboration graph
[legend]

Public Member Functions

 WeightedBehaviorTreeNode (float weight_, BehaviorTreeNode *node_)
 
bool isNull () const
 

Public Attributes

float weight
 
BehaviorTreeNodenode
 

Static Public Attributes

static const
WeightedBehaviorTreeNode 
NULL_WEIGHTED_NODE = WeightedBehaviorTreeNode(0, NULL)
 Null node, used to terminate argument list when calling setWeightedChildren(). More...
 

Detailed Description

This class is used solely to pass arguments in the setWeightedChildren() method.

Constructor & Destructor Documentation

BehaviorTree::WeightedBehaviorTreeNode::WeightedBehaviorTreeNode ( float  weight_,
BehaviorTreeNode node_ 
)
inline

Member Function Documentation

bool BehaviorTree::WeightedBehaviorTreeNode::isNull ( ) const
inline

Member Data Documentation

BehaviorTreeNode* BehaviorTree::WeightedBehaviorTreeNode::node
const WeightedBehaviorTreeNode WeightedBehaviorTreeNode::NULL_WEIGHTED_NODE = WeightedBehaviorTreeNode(0, NULL)
static

Null node, used to terminate argument list when calling setWeightedChildren().

float BehaviorTree::WeightedBehaviorTreeNode::weight

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