Defines | Enumerations | Functions | Variables
mdpCassandra.h File Reference
#include <stdio.h>
#include "sparse-matrix.h"
Include dependency graph for mdpCassandra.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Defines

#define DEFAULT_DISCOUNT_FACTOR   1.0
#define DEFAULT_VALUE_TYPE   REWARD_value_type
#define INVALID_STATE   -1
#define NUM_VALUE_TYPES   2
#define VALUE_TYPE_STRINGS

Enumerations

enum  Problem_Type { UNKNOWN_problem_type, MDP_problem_type, POMDP_problem_type }
enum  Value_Type { REWARD_value_type, COST_value_type }

Functions

void allocateIntermediateMDP ()
void checkAllocatedPointer (void *ptr)
void convertMatrices ()
void copyBeliefState (REAL_VALUE *copy, REAL_VALUE *pi)
void deallocateIntermediateMDP ()
void deallocateMDP ()
void displayBeliefState (FILE *file, REAL_VALUE *pi)
void displayMDPSlice (int state)
unsigned long getCurrentProcessMemoryUsage ()
unsigned long getPhysicalMemorySize ()
unsigned long getPlatformMemoryLimit ()
void memoryExhaustedErrorHandler ()
REAL_VALUEnewBeliefState ()
int readMDP (char *filename)
int readMDPFile (FILE *file)
int transformBeliefState (REAL_VALUE *pi, REAL_VALUE *pi_hat, int a, int obs)
int verifyIntermediateMDP ()
int writeMDP (char *filename)

Variables

REAL_VALUE gDiscount
REAL_VALUEgInitialBelief
int gInitialState
int gNumActions
int gNumObservations
int gNumStates
Problem_Type gProblemType
Value_Type gValueType
I_MatrixIP
I_Matrix IQ
I_MatrixIR
MatrixP
Matrix Q
MatrixQI
MatrixR
char * value_type_str []
int zmdpDebugLevelG

Define Documentation

#define DEFAULT_DISCOUNT_FACTOR   1.0

Definition at line 61 of file mdpCassandra.h.

Definition at line 63 of file mdpCassandra.h.

#define INVALID_STATE   -1

Definition at line 65 of file mdpCassandra.h.

#define NUM_VALUE_TYPES   2

Definition at line 54 of file mdpCassandra.h.

Value:
{ \
                                   "cost", \
                                   "reward" \
                                 }

Definition at line 56 of file mdpCassandra.h.


Enumeration Type Documentation

Enumerator:
UNKNOWN_problem_type 
MDP_problem_type 
POMDP_problem_type 

Definition at line 47 of file mdpCassandra.h.

enum Value_Type
Enumerator:
REWARD_value_type 
COST_value_type 

Definition at line 55 of file mdpCassandra.h.


Function Documentation

Definition at line 199 of file mdpCassandra.c.

void checkAllocatedPointer ( void *  ptr)

Definition at line 591 of file mdpCassandra.c.

void convertMatrices ( )

Definition at line 366 of file mdpCassandra.c.

void copyBeliefState ( REAL_VALUE copy,
REAL_VALUE pi 
)

Definition at line 144 of file mdpCassandra.c.

Definition at line 287 of file mdpCassandra.c.

void deallocateMDP ( )

Definition at line 504 of file mdpCassandra.c.

void displayBeliefState ( FILE *  file,
REAL_VALUE pi 
)

Definition at line 157 of file mdpCassandra.c.

void displayMDPSlice ( int  state)

Definition at line 549 of file mdpCassandra.c.

unsigned long getCurrentProcessMemoryUsage ( )

Definition at line 65 of file CPMemUtils.cpp.

unsigned long getPhysicalMemorySize ( )

Definition at line 3 of file CPMemUtils.cpp.

unsigned long getPlatformMemoryLimit ( )

Definition at line 122 of file CPMemUtils.cpp.

Definition at line 582 of file mdpCassandra.c.

Definition at line 96 of file mdpCassandra.c.

int readMDP ( char *  filename)

Definition at line 168 of file mdpCassandra.c.

int readMDPFile ( FILE *  file)

Definition at line 3372 of file pomdp_spec.tab.cc.

int transformBeliefState ( REAL_VALUE pi,
REAL_VALUE pi_hat,
int  a,
int  obs 
)

Definition at line 101 of file mdpCassandra.c.

Definition at line 253 of file mdpCassandra.c.

int writeMDP ( char *  filename)

Definition at line 446 of file mdpCassandra.c.


Variable Documentation

Definition at line 48 of file mdpCassandra.c.

Definition at line 92 of file mdpCassandra.c.

Definition at line 93 of file mdpCassandra.c.

Definition at line 57 of file mdpCassandra.c.

Definition at line 58 of file mdpCassandra.c.

Definition at line 56 of file mdpCassandra.c.

Definition at line 44 of file mdpCassandra.c.

Definition at line 52 of file mdpCassandra.c.

Definition at line 216 of file pomdp_spec.tab.cc.

Definition at line 75 of file mdpCassandra.c.

Definition at line 217 of file pomdp_spec.tab.cc.

Definition at line 79 of file mdpCassandra.c.

Definition at line 83 of file mdpCassandra.c.

Definition at line 81 of file mdpCassandra.c.

char* value_type_str[]

Definition at line 50 of file mdpCassandra.c.



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