Classes | Defines | Typedefs | Functions
parse_err.h File Reference
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

struct  enode

Defines

#define BAD_ACTION_STR   9
#define BAD_ACTION_VAL   6
#define BAD_DISCOUNT_VAL   1
#define BAD_MATRIX_CONTEXT   13
#define BAD_NUM_ACTIONS   3
#define BAD_NUM_OBS   4
#define BAD_NUM_STATES   2
#define BAD_OBS_PROB_SUM   22
#define BAD_OBS_STR   10
#define BAD_OBS_VAL   7
#define BAD_PROB_VAL   11
#define BAD_RESET_USAGE   25
#define BAD_REWARD_SYNTAX   28
#define BAD_START_PROB_SUM   24
#define BAD_START_STATE_TYPE   27
#define BAD_STATE_STR   8
#define BAD_STATE_VAL   5
#define BAD_TRANS_PROB_SUM   21
#define DEBUG   1 /* set this constant to zero when not debugging */
#define DUPLICATE_STRING   14
#define ERR_META
#define ERROR_MSSG_0   "Illegal character @ in input."
#define ERROR_MSSG_1   "Bad value for discount factor. Valid range is 0 to 1."
#define ERROR_MSSG_10   "No observation with name @ found."
#define ERROR_MSSG_11   "Bad probability. Must be between 0 and 1."
#define ERROR_MSSG_12   "Not enough matrix entries."
#define ERROR_MSSG_13   "Unreckognized matrix context."
#define ERROR_MSSG_14   "Duplicate name '@' in list."
#define ERROR_MSSG_15   "Too many matrix entries."
#define ERROR_MSSG_16   "Missing 'discount:' specification."
#define ERROR_MSSG_17   "Missing 'values:' specification"
#define ERROR_MSSG_18   "Missing 'states:' specification"
#define ERROR_MSSG_19   "Missing 'actions:' specification"
#define ERROR_MSSG_2   "Bad number of states specified. Must be > 0."
#define ERROR_MSSG_20   "Missing 'observations:' specification"
#define ERROR_MSSG_21   "Bad probability sum for T: @."
#define ERROR_MSSG_22   "Bad probability sum for O: @"
#define ERROR_MSSG_23   "Syntax error."
#define ERROR_MSSG_24   "Bad probability sum for start belief state"
#define ERROR_MSSG_25   "The keyword 'reset' is not allowed in this context"
#define ERROR_MSSG_26   "Observations not valid in MDP, or missing observations in POMDP"
#define ERROR_MSSG_27   "This type of starting state specification is not valid for an MDP."
#define ERROR_MSSG_28   "Not a valid reward syntax for this problem type."
#define ERROR_MSSG_3   "Bad number of actions specified. Must be > 0."
#define ERROR_MSSG_4   "Bad number of observations specified. Must be > 0."
#define ERROR_MSSG_5   "State number is out of range."
#define ERROR_MSSG_6   "Action number is out of range."
#define ERROR_MSSG_7   "Observation number is out of range."
#define ERROR_MSSG_8   "No state with name @ found."
#define ERROR_MSSG_9   "No action with name @ found."
#define ILL_CHAR_ERR   0
#define LINE_ERROR   "ERROR: line %d: "
#define LINE_WARNING   "WARNING: line %d: "
#define MISSING_ACTIONS   19
#define MISSING_DISCOUNT   16
#define MISSING_OBS   20
#define MISSING_STATES   18
#define MISSING_VALUES   17
#define NBR_ERRORS   29
#define NO_ERRORS   "No Errors found.\n"
#define NO_LINE
#define NO_LINE_ERROR   "ERROR: "
#define NO_LINE_WARNING   "WARNING:"
#define OBS_IN_MDP_PROBLEM   26
#define OUT_OF_RANGE_MSSG   "** ERROR ** ERR_enter: errorid of %d out of range\n"
#define PARSE_ERR   23
#define TOO_FEW_ENTRIES   12
#define TOO_MANY_ENTRIES   15

Typedefs

typedef struct enode Err_node

Functions

void ERR_cleanUp (void)
int ERR_dump (void)
void ERR_enter (char *source, int lineno, int errorid, char *modificationString)
void ERR_initialize (void)

Define Documentation

#define BAD_ACTION_STR   9

Definition at line 86 of file parse_err.h.

#define BAD_ACTION_VAL   6

Definition at line 83 of file parse_err.h.

#define BAD_DISCOUNT_VAL   1

Definition at line 78 of file parse_err.h.

#define BAD_MATRIX_CONTEXT   13

Definition at line 90 of file parse_err.h.

#define BAD_NUM_ACTIONS   3

Definition at line 80 of file parse_err.h.

#define BAD_NUM_OBS   4

Definition at line 81 of file parse_err.h.

#define BAD_NUM_STATES   2

Definition at line 79 of file parse_err.h.

#define BAD_OBS_PROB_SUM   22

Definition at line 99 of file parse_err.h.

#define BAD_OBS_STR   10

Definition at line 87 of file parse_err.h.

#define BAD_OBS_VAL   7

Definition at line 84 of file parse_err.h.

#define BAD_PROB_VAL   11

Definition at line 88 of file parse_err.h.

#define BAD_RESET_USAGE   25

Definition at line 102 of file parse_err.h.

#define BAD_REWARD_SYNTAX   28

Definition at line 105 of file parse_err.h.

#define BAD_START_PROB_SUM   24

Definition at line 101 of file parse_err.h.

#define BAD_START_STATE_TYPE   27

Definition at line 104 of file parse_err.h.

#define BAD_STATE_STR   8

Definition at line 85 of file parse_err.h.

#define BAD_STATE_VAL   5

Definition at line 82 of file parse_err.h.

#define BAD_TRANS_PROB_SUM   21

Definition at line 98 of file parse_err.h.

#define DEBUG   1 /* set this constant to zero when not debugging */

Definition at line 36 of file parse_err.h.

#define DUPLICATE_STRING   14

Definition at line 91 of file parse_err.h.

#define ERR_META
Value:
'@'     /* Special character found in error messages
                                that indicates an insertion point
                                for another string.
                                */

Definition at line 41 of file parse_err.h.

#define ERROR_MSSG_0   "Illegal character @ in input."

Definition at line 46 of file parse_err.h.

#define ERROR_MSSG_1   "Bad value for discount factor. Valid range is 0 to 1."

Definition at line 47 of file parse_err.h.

#define ERROR_MSSG_10   "No observation with name @ found."

Definition at line 56 of file parse_err.h.

#define ERROR_MSSG_11   "Bad probability. Must be between 0 and 1."

Definition at line 57 of file parse_err.h.

#define ERROR_MSSG_12   "Not enough matrix entries."

Definition at line 58 of file parse_err.h.

#define ERROR_MSSG_13   "Unreckognized matrix context."

Definition at line 59 of file parse_err.h.

#define ERROR_MSSG_14   "Duplicate name '@' in list."

Definition at line 60 of file parse_err.h.

#define ERROR_MSSG_15   "Too many matrix entries."

Definition at line 61 of file parse_err.h.

#define ERROR_MSSG_16   "Missing 'discount:' specification."

Definition at line 62 of file parse_err.h.

#define ERROR_MSSG_17   "Missing 'values:' specification"

Definition at line 63 of file parse_err.h.

#define ERROR_MSSG_18   "Missing 'states:' specification"

Definition at line 64 of file parse_err.h.

#define ERROR_MSSG_19   "Missing 'actions:' specification"

Definition at line 65 of file parse_err.h.

#define ERROR_MSSG_2   "Bad number of states specified. Must be > 0."

Definition at line 48 of file parse_err.h.

#define ERROR_MSSG_20   "Missing 'observations:' specification"

Definition at line 66 of file parse_err.h.

#define ERROR_MSSG_21   "Bad probability sum for T: @."

Definition at line 67 of file parse_err.h.

#define ERROR_MSSG_22   "Bad probability sum for O: @"

Definition at line 68 of file parse_err.h.

#define ERROR_MSSG_23   "Syntax error."

Definition at line 69 of file parse_err.h.

#define ERROR_MSSG_24   "Bad probability sum for start belief state"

Definition at line 70 of file parse_err.h.

#define ERROR_MSSG_25   "The keyword 'reset' is not allowed in this context"

Definition at line 71 of file parse_err.h.

#define ERROR_MSSG_26   "Observations not valid in MDP, or missing observations in POMDP"

Definition at line 72 of file parse_err.h.

#define ERROR_MSSG_27   "This type of starting state specification is not valid for an MDP."

Definition at line 73 of file parse_err.h.

#define ERROR_MSSG_28   "Not a valid reward syntax for this problem type."

Definition at line 74 of file parse_err.h.

#define ERROR_MSSG_3   "Bad number of actions specified. Must be > 0."

Definition at line 49 of file parse_err.h.

#define ERROR_MSSG_4   "Bad number of observations specified. Must be > 0."

Definition at line 50 of file parse_err.h.

#define ERROR_MSSG_5   "State number is out of range."

Definition at line 51 of file parse_err.h.

#define ERROR_MSSG_6   "Action number is out of range."

Definition at line 52 of file parse_err.h.

#define ERROR_MSSG_7   "Observation number is out of range."

Definition at line 53 of file parse_err.h.

#define ERROR_MSSG_8   "No state with name @ found."

Definition at line 54 of file parse_err.h.

#define ERROR_MSSG_9   "No action with name @ found."

Definition at line 55 of file parse_err.h.

#define ILL_CHAR_ERR   0

Definition at line 77 of file parse_err.h.

#define LINE_ERROR   "ERROR: line %d: "

Definition at line 111 of file parse_err.h.

#define LINE_WARNING   "WARNING: line %d: "

Definition at line 113 of file parse_err.h.

#define MISSING_ACTIONS   19

Definition at line 96 of file parse_err.h.

#define MISSING_DISCOUNT   16

Definition at line 93 of file parse_err.h.

#define MISSING_OBS   20

Definition at line 97 of file parse_err.h.

#define MISSING_STATES   18

Definition at line 95 of file parse_err.h.

#define MISSING_VALUES   17

Definition at line 94 of file parse_err.h.

#define NBR_ERRORS   29

Definition at line 44 of file parse_err.h.

#define NO_ERRORS   "No Errors found.\n"

Definition at line 109 of file parse_err.h.

#define NO_LINE
Value:
-1      /* Value line number will take
                                when a particular error message
                                does not have an associated
                                line number
                                */

Definition at line 39 of file parse_err.h.

#define NO_LINE_ERROR   "ERROR: "

Definition at line 110 of file parse_err.h.

#define NO_LINE_WARNING   "WARNING:"

Definition at line 112 of file parse_err.h.

#define OBS_IN_MDP_PROBLEM   26

Definition at line 103 of file parse_err.h.

#define OUT_OF_RANGE_MSSG   "** ERROR ** ERR_enter: errorid of %d out of range\n"

Definition at line 108 of file parse_err.h.

#define PARSE_ERR   23

Definition at line 100 of file parse_err.h.

#define TOO_FEW_ENTRIES   12

Definition at line 89 of file parse_err.h.

#define TOO_MANY_ENTRIES   15

Definition at line 92 of file parse_err.h.


Typedef Documentation

typedef struct enode Err_node

Function Documentation

void ERR_cleanUp ( void  )

Definition at line 277 of file parse_err.c.

int ERR_dump ( void  )

Definition at line 189 of file parse_err.c.

void ERR_enter ( char *  source,
int  lineno,
int  errorid,
char *  modificationString 
)

Definition at line 95 of file parse_err.c.

void ERR_initialize ( void  )

Definition at line 75 of file parse_err.c.



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