Blame view

build1/epsilon-master/apps/regression/go_to_parameter_controller.h 821 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
  #ifndef REGRESSION_GO_TO_PARAMETER_CONTROLLER_H
  #define REGRESSION_GO_TO_PARAMETER_CONTROLLER_H
  
  #include <escher.h>
  #include "../shared/go_to_parameter_controller.h"
  #include "store.h"
  
  namespace Regression {
  
  class GraphController;
  
  class GoToParameterController : public Shared::GoToParameterController {
  public:
    GoToParameterController(Responder * parentResponder, Store * store, Shared::CurveViewCursor * cursor, GraphController * graphController);
    void setXPrediction(bool xPrediction);
    const char * title() override;
    void willDisplayCellForIndex(HighlightCell * cell, int index) override;
  private:
    double parameterAtIndex(int index) override;
    bool setParameterAtIndex(int parameterIndex, double f) override;
    Store * m_store;
    bool m_xPrediction;
    GraphController * m_graphController;
  };
  
  }
  
  #endif