calculation.cpp
407 Bytes
#include "calculation.h"
#include <assert.h>
#include <cmath>
namespace Probability {
Calculation::Calculation():
m_law(nullptr)
{
}
void Calculation::setLaw(Law * law) {
m_law = law;
compute(0);
}
int Calculation::numberOfEditableParameters() {
return numberOfParameters();
}
double Calculation::lowerBound() {
return -INFINITY;
}
double Calculation::upperBound() {
return INFINITY;
}
}