Blame view

build2/epsilon-master/apps/probability/calculation/calculation.cpp 407 Bytes
6663b6c9   adorian   projet complet av...
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
  #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;
  }
  
  }