Blame view

build2/epsilon-master/apps/probability/law/one_parameter_law.h 401 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
  #ifndef PROBABILITE_ONE_PARAMETER_LAW_H
  #define PROBABILITE_ONE_PARAMETER_LAW_H
  
  #include "law.h"
  
  namespace Probability {
  
  class OneParameterLaw : public Law {
  public:
    OneParameterLaw(float parameterValue);
    int numberOfParameter() override;
    float parameterValueAtIndex(int index) override;
    void setParameterAtIndex(float f, int index) override;
  protected:
    float m_parameter1;
  };
  
  }
  
  #endif