MultiAgentDecisionProcess
Release 0.2.1
Main Page
Namespaces
Classes
Files
File List
File Members
Globals.cpp
Go to the documentation of this file.
1
28
#include "
Globals.h
"
29
30
using namespace
std;
31
32
bool
Globals::EqualProbability
(
double
p1,
double
p2)
33
{
34
return
( abs(p1-p2) <
PROB_PRECISION
) ;
35
}
36
37
bool
Globals::EqualReward
(
double
r1,
double
r2)
38
{
39
return
( abs(r1-r2) <
REWARD_PRECISION
) ;
40
}
src
base
Globals.cpp
Generated on Mon Sep 23 2013 14:50:05 for MultiAgentDecisionProcess by
1.8.1.2