Lightweight Neural Network++ documentation

Visit the lwnnplus home page, download the technical report in english or italian.

Main Page | Class Hierarchy | Class List | File List | Class Members

iomanage.h

00001 #ifndef IOMANAGE_H
00002 #define IOMANAGE_H
00003 /*
00004  * Lightweight Neural Net ++ - iomanage (abstract) class
00005  * http://lwneuralnetplus.sourceforge.net/
00006  * 
00007  * This class is part of lwnn++ library
00008  *
00009  * By Lorenzo Masetti <lorenzo.masetti@libero.it> and Luca Cinti <lucacinti@supereva.it>
00010  *
00011  * This library is free software; you can redistribute it and/or
00012  * modify it under the terms of the GNU Lesser General Public
00013  * License as published by the Free Software Foundation; either
00014  * version 2.1 of the License, or (at your option) any later version.
00015  * 
00016  */
00017 #include <stdexcept>
00018 using namespace std;
00019 
00034 class iomanage 
00035 {
00036 public:
00037 
00038 
00050   virtual void info_from_file (const string & filename, int *npatterns,
00051                               int *ninput, int *noutput) = 0;
00052 
00071   virtual void load_patterns (const string & filename,
00072                                        float **inputs, float **targets,
00073                                        int ninput, int noutput, int npatterns) = 0;
00074 
00075 
00083   static void allocate_data(int npattern, int ninput, int noutput, float** &input, float** &target);
00084 
00085 
00094   virtual void allocate_and_load( const string& filename, float** &inputs, float** &targets, int* ninput, int* noutput, int* npatterns);
00095 
00096 
00102   static void destroy(int npatterns, float** input, float** output);
00103 };
00104 
00105 
00106 #endif
00107 
00108 
00109 

Generated on Tue Oct 12 00:32:11 2004 for Lightweight Neural Network ++ by  doxygen 1.3.9