AIToolbox
A library that offers tools for AI problem solving.
AIToolbox::POMDP::BeliefNode< UseEntropy > Class Template Reference

This is a belief node of the rPOMCP tree. More...

#include <AIToolbox/POMDP/Algorithms/Utils/rPOMCPGraph.hpp>

Inheritance diagram for AIToolbox::POMDP::BeliefNode< UseEntropy >:
AIToolbox::POMDP::HeadBeliefNode< UseEntropy >

Public Member Functions

 BeliefNode ()
 
void updateBeliefAndKnowledge (size_t s)
 This function updates the knowledge measure after adding a new belief particle. More...
 
double getKnowledgeMeasure () const
 This function returns the current estimate for reward for this node. More...
 
void updateBeliefAndKnowledge (const size_t s)
 
void updateBeliefAndKnowledge (const size_t s)
 

Public Attributes

unsigned N
 Counter for number of times we went through this belief node. More...
 
ActionNodes< UseEntropy > children
 
double V
 Estimated value for this belief, taking into account future rewards/actions. More...
 
double actionsV
 Estimated value for the actions (could be mean, max, or other) More...
 
size_t bestAction
 Tracker of best available action in MAX-mode, to select node value. More...
 

Protected Attributes

TrackBelief< UseEntropy > trackBelief_
 This is a particle belief which is easy to update. More...
 
double knowledgeMeasure_
 Estimated entropy/max-belief for this node. More...
 

Detailed Description

template<bool UseEntropy>
class AIToolbox::POMDP::BeliefNode< UseEntropy >

This is a belief node of the rPOMCP tree.

Constructor & Destructor Documentation

◆ BeliefNode()

template<bool UseEntropy>
AIToolbox::POMDP::BeliefNode< UseEntropy >::BeliefNode

Member Function Documentation

◆ getKnowledgeMeasure()

template<bool UseEntropy>
double AIToolbox::POMDP::BeliefNode< UseEntropy >::getKnowledgeMeasure

This function returns the current estimate for reward for this node.

◆ updateBeliefAndKnowledge() [1/3]

void AIToolbox::POMDP::BeliefNode< true >::updateBeliefAndKnowledge ( const size_t  s)

◆ updateBeliefAndKnowledge() [2/3]

void AIToolbox::POMDP::BeliefNode< false >::updateBeliefAndKnowledge ( const size_t  s)

◆ updateBeliefAndKnowledge() [3/3]

template<bool UseEntropy>
void AIToolbox::POMDP::BeliefNode< UseEntropy >::updateBeliefAndKnowledge ( size_t  s)

This function updates the knowledge measure after adding a new belief particle.

Member Data Documentation

◆ actionsV

template<bool UseEntropy>
double AIToolbox::POMDP::BeliefNode< UseEntropy >::actionsV

Estimated value for the actions (could be mean, max, or other)

◆ bestAction

template<bool UseEntropy>
size_t AIToolbox::POMDP::BeliefNode< UseEntropy >::bestAction

Tracker of best available action in MAX-mode, to select node value.

◆ children

template<bool UseEntropy>
ActionNodes<UseEntropy> AIToolbox::POMDP::BeliefNode< UseEntropy >::children

◆ knowledgeMeasure_

template<bool UseEntropy>
double AIToolbox::POMDP::BeliefNode< UseEntropy >::knowledgeMeasure_
protected

Estimated entropy/max-belief for this node.

◆ N

template<bool UseEntropy>
unsigned AIToolbox::POMDP::BeliefNode< UseEntropy >::N

Counter for number of times we went through this belief node.

◆ trackBelief_

template<bool UseEntropy>
TrackBelief<UseEntropy> AIToolbox::POMDP::BeliefNode< UseEntropy >::trackBelief_
protected

This is a particle belief which is easy to update.

◆ V

template<bool UseEntropy>
double AIToolbox::POMDP::BeliefNode< UseEntropy >::V

Estimated value for this belief, taking into account future rewards/actions.


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