Defines | Functions | Variables
imm-reward.c File Reference
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <string.h>
#include "mdpCassandra.h"
#include "sparse-matrix.h"
#include "imm-reward.h"
#include "decision-tree.h"
Include dependency graph for imm-reward.c:

Go to the source code of this file.

Defines

#define USE_DECISION_TREE   (1)

Functions

Imm_Reward_List appendImmRewardList (Imm_Reward_List list, Imm_Reward_List node)
void destroyImmRewards ()
void doneImmReward ()
void enterImmReward (int cur_state, int next_state, int obs, REAL_VALUE value)
REAL_VALUE getImmediateReward (int action, int cur_state, int next_state, int obs)
void irAddToDecisionTree (Imm_Reward_List node)
void newImmReward (int action, int cur_state, int next_state, int obs)

Variables

I_Matrix gCurIMatrix = NULL
Imm_Reward_List gCurImmRewardNode = NULL
Imm_Reward_List gImmRewardList = NULL

Define Documentation

#define USE_DECISION_TREE   (1)

Definition at line 99 of file imm-reward.c.


Function Documentation

Definition at line 153 of file imm-reward.c.

Definition at line 118 of file imm-reward.c.

void doneImmReward ( )

Definition at line 341 of file imm-reward.c.

void enterImmReward ( int  cur_state,
int  next_state,
int  obs,
REAL_VALUE  value 
)

Definition at line 257 of file imm-reward.c.

REAL_VALUE getImmediateReward ( int  action,
int  cur_state,
int  next_state,
int  obs 
)

Definition at line 374 of file imm-reward.c.

Definition at line 291 of file imm-reward.c.

void newImmReward ( int  action,
int  cur_state,
int  next_state,
int  obs 
)

Definition at line 168 of file imm-reward.c.


Variable Documentation

Definition at line 106 of file imm-reward.c.

Definition at line 112 of file imm-reward.c.

Definition at line 115 of file imm-reward.c.



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