Public Member Functions | Public Attributes | Private Member Functions | Private Attributes
momdp::BeliefCache Class Reference

#include <BeliefCache.h>

List of all members.

Public Member Functions

int addBeliefRow (SharedPointer< belief_vector > &bel)
int addBeliefRowWithoutCheck (SharedPointer< belief_vector > &bel)
 BeliefCache (void)
int getBeliefRowIndex (SharedPointer< belief_vector > &bel)
BeliefCacheRowgetRow (int row)
bool hasBelief (SharedPointer< belief_vector > &bel)
virtual void localDelete (SharedPointer< Belief > pointer)
int size ()
ofstream & writeBeliefFunction (std::string fileName)
ofstream & writeBeliefVector (std::string fileName)
 Helper Method to dump belief cache.
virtual ~BeliefCache (void)

Public Attributes

int currentRowCount

Private Member Functions

void validateRowNumber (int row)

Private Attributes

std::vector< BeliefCacheRow * > belCache
UniqueBeliefHeaplookupTable

Detailed Description

Definition at line 13 of file BeliefCache.h.


Constructor & Destructor Documentation

Definition at line 10 of file BeliefCache.cpp.

BeliefCache::~BeliefCache ( void  ) [virtual]

Definition at line 17 of file BeliefCache.cpp.


Member Function Documentation

Definition at line 45 of file BeliefCache.cpp.

Definition at line 68 of file BeliefCache.cpp.

Definition at line 87 of file BeliefCache.cpp.

Definition at line 27 of file BeliefCache.cpp.

Definition at line 82 of file BeliefCache.cpp.

void BeliefCache::localDelete ( SharedPointer< Belief pointer) [virtual]

Definition at line 22 of file BeliefCache.cpp.

int momdp::BeliefCache::size ( ) [inline]

Definition at line 47 of file BeliefCache.h.

void BeliefCache::validateRowNumber ( int  row) [private]

Definition at line 33 of file BeliefCache.cpp.

ofstream & BeliefCache::writeBeliefFunction ( std::string  fileName)

Definition at line 104 of file BeliefCache.cpp.

ofstream & BeliefCache::writeBeliefVector ( std::string  fileName)

Helper Method to dump belief cache.

Author:
Xan

Definition at line 91 of file BeliefCache.cpp.


Member Data Documentation

std::vector<BeliefCacheRow *> momdp::BeliefCache::belCache [private]

Definition at line 16 of file BeliefCache.h.

Definition at line 38 of file BeliefCache.h.

Definition at line 17 of file BeliefCache.h.


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


appl
Author(s): petercai
autogenerated on Tue Jan 7 2014 11:02:30