MultiAgentDecisionProcess
Globals.h File Reference
#include <vector>
#include <cmath>
#include <iostream>
#include "versions.h"
#include "configuration.h"
#include <limits.h>
#include "PrintTools.h"
#include "E.h"
#include "ENoSubScope.h"
#include "EInvalidIndex.h"

Namespaces

 Globals
 Globals contains several definitions global to the MADP toolbox.
 

Macros

#define INDEX_MAX   UINT_MAX
 

Typedefs

typedef unsigned int Globals::Index
 A general index. More...
 
typedef unsigned long long int Globals::LIndex
 A long long index. More...
 

Enumerations

enum  Globals::reward_t { Globals::REWARD, Globals::COST }
 Inherited from Tony's POMDP file format. More...
 

Functions

double Globals::CastLIndexToDouble (LIndex i)
 
Index Globals::CastLIndexToIndex (LIndex i)
 
bool Globals::EqualProbability (double p1, double p2)
 
bool Globals::EqualReward (double r1, double r2)
 

Variables

const size_t Globals::ALL_SOLUTIONS =0
 constant to denote all solutions (e.g., nrDesiredSolutions = ALL_SOLUTIONS ) More...
 
const Index Globals::INITIAL_JAOHI =0
 The initial (=empty) joint action-observation history index. More...
 
const Index Globals::INITIAL_JOHI =0
 The initial (=empty) joint observation history index. More...
 
const unsigned int Globals::MAXHORIZON =999999
 The highest horizon we will consider. More...
 
const double Globals::PROB_PRECISION =1e-12
 The precision for probabilities. More...
 
const double Globals::REWARD_PRECISION =1e-12
 Used to determine when two (immediate) rewards are considered equal. More...
 

Macro Definition Documentation

#define INDEX_MAX   UINT_MAX