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

#include <UniqueBeliefHeap.h>

List of all members.

Public Member Functions

int addBeliefRowPair (SharedPointer< belief_vector > &bel, int row)
 This for adding a belief and row pair.
int getBeliefRowIndex (SharedPointer< belief_vector > &bel) const
 get the corresponding row, -1 is returned if the thing is not found
bool isStorageMaterial (SharedPointer< belief_vector > &bel)
 This is for checking whether the current belief in question can be added to the heap / cache or not.
void printHashMap () const
virtual ~UniqueBeliefHeap ()

Private Member Functions

bool hasBelief (SharedPointer< belief_vector > &bel)

Private Attributes

map< string, vector
< BeliefVector_RowIndexPair > > 
uniqueBelHeap

Detailed Description

Definition at line 33 of file UniqueBeliefHeap.h.


Constructor & Destructor Documentation

Definition at line 126 of file UniqueBeliefHeap.cpp.


Member Function Documentation

This for adding a belief and row pair.

Parameters:
belbelief to be added
rowrow index

Definition at line 22 of file UniqueBeliefHeap.cpp.

get the corresponding row, -1 is returned if the thing is not found

Parameters:
belbelief being searched
Returns:
row index in the belief cache

Definition at line 71 of file UniqueBeliefHeap.cpp.

Definition at line 65 of file UniqueBeliefHeap.cpp.

This is for checking whether the current belief in question can be added to the heap / cache or not.

Parameters:
belthe belief in question
Returns:
can it be added

Definition at line 122 of file UniqueBeliefHeap.cpp.

Definition at line 113 of file UniqueBeliefHeap.cpp.


Member Data Documentation

Definition at line 36 of file UniqueBeliefHeap.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