RTXI  2.1
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros
learncur.h
Go to the documentation of this file.
1 //
2 // File = learncur.h
3 //
4 
5 #ifndef _LEARNCUR_H_
6 #define _LEARNCUR_H_
7 
8 #include "typedefs.h"
10 {
11 public:
12  LearningCurve(int num_samps, int num_trials, double min_mse);
13  void AddSample(int samp_idx, double err_samp, LOGICAL_T save_this_trial);
14  void DumpCurve(void);
15 
16 private:
17  int Num_Samps;
19  double Min_Mse;
20  double* Buffer;
21  double* Sqr_Buf;
22  double* Trial_Buf;
23 };
24 
25 #endif
void AddSample(int samp_idx, double err_samp, LOGICAL_T save_this_trial)
Definition: learncur.cpp:31
double Min_Mse
Definition: learncur.h:19
void DumpCurve(void)
Definition: learncur.cpp:42
int Num_Trials
Definition: learncur.h:18
LOGICAL_T
Definition: typedefs.h:7
double * Trial_Buf
Definition: learncur.h:22
LearningCurve(int num_samps, int num_trials, double min_mse)
Definition: learncur.cpp:16
int Num_Samps
Definition: learncur.h:17
double * Sqr_Buf
Definition: learncur.h:21
double * Buffer
Definition: learncur.h:20