How to use this library (basic)
For first
you must include the header with class definition:
#include "NNFpp.h"
or
#include <NNFpp.h>
if the files NNFpp.h and NNFpp.cpp are in the directory of the system include.
The next step is create an NNF object:
NNFpp *net;
net = new NNFpp(...);
using the costructor you need.
When you have the vector of input (the dimension of this vector must be the
same of the neuron's number in input) you can execute the net:
out = net->Execute(in);
where in is the pointer to input
vector.
If you want to train the net you need of a desired results vector (the dimension
of this vector must be the same of the neuron's number in output):
net->BackPropagateOnLine(des);
where des is the pointer to desider
vector.
At the end to free memory:
delete net;