/********************************************************************** * netfile.h * * (C) 2000 J. Ahrensfeld * **********************************************************************/ #ifndef NNFILE_H #define NNFILE_H #include "nntypes.h" typedef struct _sLayerInfo { int nNeurons, NeuronType; } LayerInfo; typedef struct _sNETFILE { UINT32 nInputs, nOutputs, nHiddenNeurons, nHiddenLayers, nTrainingSets, OutType; UINT32 MaxEpochs, reportUpd, maxPatterns, nntype; LayerInfo LInfo[64]; double *pInput; double *pTarget; double LearningRate, Momentum, ErrorThreshold, initwrange; } NETFILE; int ReadNetFile(char* szFileName, NETFILE *NInfo); #endif /* NNFILE_H */