NN_connection.h

Go to the documentation of this file.
00001 #pragma once
00002 
00003 //Refereanser til eksternt grensesnitt/kode som anvendes i denne filen
00004 #include "Fann.h"
00005 
00006 
00018 class NN_connection
00019 {
00020 
00022         struct fann *ann;
00023 
00024 public:
00025 
00029         NN_connection();
00030 
00031 
00035         ~NN_connection();
00036 
00037 
00045         void createNetwork(int numInput, int numNeuronsHidden, int numOutput);
00046 
00047 
00053         void createNetworkFromFile(const char *inputFile);
00054 
00055 
00066         void train(const char *input, int maxEpochs, int epochsBetweenReports,
00067                            float desiredError, const char *output);
00068 
00069 
00077         int execute(float *vector);
00078 
00079 
00083         void destroy();
00084 };

Generated on Sun May 21 10:54:04 2006 for Automatisk visuelt inspeksjonssytem by  doxygen 1.4.6-NO