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

#include <PolicyGraphGenerator.h>

List of all members.

Public Member Functions

void generateGraph (ostream &output)
 PolicyGraphGenerator (SharedPointer< MOMDP > _problem, SharedPointer< AlphaVectorPolicy > _policy, PolicyGraphParam _graphParam)
 ~PolicyGraphGenerator (void)

Private Member Functions

void convertStCacheIndex (ostream &output, cacherow_stval &stRowIndex)
void dfsBeliefForest (BeliefTreeNode *curNode, vector< BeliefTreeNode * > &path, int level)
void drawRootNodeDot (ostream &output, SharedPointer< SparseVector > initialBeliefY, SharedPointer< DenseVector > initialBeliefX, int bestAction)
void expandNode (BeliefTreeNode *curNode, int bestAction, vector< NodeRelation > &expansion)
string formatTuple (string name, int index, map< string, string > dataMap)
void generateNodesDot (ostream &output, BeliefTreeNode *node)
void generateNodesRelation (ostream &output, vector< NodeRelation > &nodeRelations, set< BeliefTreeNode * > firstLevelNodes)

Private Attributes

vector< BeliefCache * > beliefCacheSet
BeliefForestbeliefForest
PolicyGraphParam graphParam
vector< NodeRelationnodeRelationsList
set< BeliefTreeNode * > nodesList
SharedPointer< AlphaVectorPolicypolicy
SharedPointer< MOMDPproblem
SamplesampleEngine

Detailed Description

Definition at line 53 of file PolicyGraphGenerator.h.


Constructor & Destructor Documentation

Definition at line 46 of file PolicyGraphGenerator.cpp.

Definition at line 66 of file PolicyGraphGenerator.cpp.


Member Function Documentation

void PolicyGraphGenerator::convertStCacheIndex ( ostream &  output,
cacherow_stval stRowIndex 
) [private]

Definition at line 240 of file PolicyGraphGenerator.cpp.

void PolicyGraphGenerator::dfsBeliefForest ( BeliefTreeNode curNode,
vector< BeliefTreeNode * > &  path,
int  level 
) [private]

Definition at line 74 of file PolicyGraphGenerator.cpp.

void PolicyGraphGenerator::drawRootNodeDot ( ostream &  output,
SharedPointer< SparseVector initialBeliefY,
SharedPointer< DenseVector initialBeliefX,
int  bestAction 
) [private]

Definition at line 323 of file PolicyGraphGenerator.cpp.

void PolicyGraphGenerator::expandNode ( BeliefTreeNode curNode,
int  bestAction,
vector< NodeRelation > &  expansion 
) [private]

Definition at line 158 of file PolicyGraphGenerator.cpp.

string PolicyGraphGenerator::formatTuple ( string  name,
int  index,
map< string, string >  dataMap 
) [private]

Definition at line 209 of file PolicyGraphGenerator.cpp.

void PolicyGraphGenerator::generateGraph ( ostream &  output)

Definition at line 364 of file PolicyGraphGenerator.cpp.

void PolicyGraphGenerator::generateNodesDot ( ostream &  output,
BeliefTreeNode node 
) [private]

Definition at line 248 of file PolicyGraphGenerator.cpp.

void PolicyGraphGenerator::generateNodesRelation ( ostream &  output,
vector< NodeRelation > &  nodeRelations,
set< BeliefTreeNode * >  firstLevelNodes 
) [private]

Definition at line 288 of file PolicyGraphGenerator.cpp.


Member Data Documentation

Definition at line 60 of file PolicyGraphGenerator.h.

Definition at line 58 of file PolicyGraphGenerator.h.

Definition at line 61 of file PolicyGraphGenerator.h.

Definition at line 64 of file PolicyGraphGenerator.h.

Definition at line 63 of file PolicyGraphGenerator.h.

Definition at line 57 of file PolicyGraphGenerator.h.

Definition at line 56 of file PolicyGraphGenerator.h.

Definition at line 59 of file PolicyGraphGenerator.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