Visit the lwnnplus home page, download the technical report in english or italian.
#include <iomanage.h>
Inheritance diagram for iomanage:

| Public Member Functions | |
| virtual void | info_from_file (const string &filename, int *npatterns, int *ninput, int *noutput)=0 | 
| Read info from file. | |
| virtual void | load_patterns (const string &filename, float **inputs, float **targets, int ninput, int noutput, int npatterns)=0 | 
| Read patterns from file. | |
| virtual void | allocate_and_load (const string &filename, float **&inputs, float **&targets, int *ninput, int *noutput, int *npatterns) | 
| Allocate memory and load data from a file. | |
| Static Public Member Functions | |
| void | allocate_data (int npattern, int ninput, int noutput, float **&input, float **&target) | 
| Allocate data for patterns. | |
| void | destroy (int npatterns, float **input, float **output) | 
| free memory for input and output | |
The class implements two static methods to allocate and destroy input and output vectors. Method allocate_data can be used to call allocate_data and load_patterns (virtually binded to the derived class method).
One example of a derived class is iomanagelwnnfann.
| 
 | ||||||||||||||||||||
| Read info from file. 
 
 Implemented in iomanagebinary, and iomanagelwnnfann. | 
| 
 | ||||||||||||||||||||||||||||
| Read patterns from file. 
 
 If the number of inputs or outputs of the patterns in the file is not equal to ninput and noutput throws a runtime_error. Can throw a runtime_error exception if the format of the file isn't right. Implemented in iomanagebinary, and iomanagelwnnfann. | 
| 
 | ||||||||||||||||||||||||
| Allocate data for patterns. 
 
 | 
| 
 | ||||||||||||||||||||||||||||
| Allocate memory and load data from a file. 
 
 | 
| 
 | ||||||||||||||||
| free memory for input and output 
 
 | 
 1.3.9
 1.3.9