Next: Module: Standard Network
Up: Source Code
Previous: Module: Simulation
  Contents
Subsections
1
2 /* Declarations of individual-specific functions */
3
4 #ifndef IND_H
5 #define IND_H 1
6
7 #include "defs.h"
8
9 int ptrain;
10
11 /* Genetic */
12
13 char *IndOptStr();
14 char *IndUsage();
15 char IndParamStr[256];
16
17 int CrBits; /* length of one chromosome in bits */
18 int CrBytes; /* length of one chromosome in bytes */
19 int CrWords; /* length of one chromosome in words */
20
21 int OffsTrain; /* Offset of error estimate */
22 int NoTrain; /* No. of patterns of err. estim. */
23 float Estimate; /* initial information ratio */
24
25 int handleIndOpt(char opt,char* arg);
26 int initInd();
27
28 int GenCalcs;
29
30 errtyp calcerr(ind x);
31 void printind(ind x);
32
33 /* Backpropagation */
34
35 char *NetOptStr();
36 char *NetUsage();
37 char NetParamStr[256];
38
39 int Nin; /* no. of inputs */
40 int Nhid; /* no. of hidden units */
41 int Nout; /* no. of outputs */
42
43 float **TrainIn; /* Training Set Input */
44 float **TrainOut; /* Training Set Output */
45 int Ntrain; /* no. of patterns */
46
47 int Nback; /* no. of backprop. steps for combined moethod */
48
49 int BackCalcs;
50
51 int handleNetOpt(char opt,char* arg);
52 int initNet();
53
54 #endif
(c) Bernhard Ömer - oemer@tph.tuwien.ac.at - http://tph.tuwien.ac.at/~oemer/