Files
Upsilon/apps/probability/calculation/calculation.cpp
Émilie Feral d4c7656186 [apps/probability] In calculation, add methods: lowerBound and
upperbound

Change-Id: Ieeffe78b40b3a4166a184000de3d8bd05b5da3c0
2017-01-09 15:08:54 +01:00

26 lines
324 B
C++

#include "calculation.h"
#include <assert.h>
#include <math.h>
namespace Probability {
Calculation::Calculation():
m_law(nullptr)
{
}
void Calculation::setLaw(Law * law) {
m_law = law;
compute(0);
}
float Calculation::lowerBound() {
return -INFINITY;
}
float Calculation::upperBound() {
return INFINITY;
}
}