#include "sparse-matrix.h"
Go to the source code of this file.
Classes | |
struct | Imm_Reward_Node_Struct |
union | Imm_Reward_Node_Struct::rep_tag |
Defines | |
#define | NOT_PRESENT -99 |
#define | WILDCARD_SPEC -1 |
Typedefs | |
typedef struct Imm_Reward_Node_Struct * | Imm_Reward_List |
Enumerations | |
enum | IR_Type { ir_none, ir_value, ir_vector, ir_matrix } |
Functions | |
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 | newImmReward (int action, int cur_state, int next_state, int obs) |
#define NOT_PRESENT -99 |
Definition at line 60 of file imm-reward.h.
#define WILDCARD_SPEC -1 |
Definition at line 59 of file imm-reward.h.
typedef struct Imm_Reward_Node_Struct* Imm_Reward_List |
Definition at line 66 of file imm-reward.h.
enum IR_Type |
Definition at line 64 of file imm-reward.h.
void destroyImmRewards | ( | ) |
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.
void newImmReward | ( | int | action, |
int | cur_state, | ||
int | next_state, | ||
int | obs | ||
) |
Definition at line 168 of file imm-reward.c.