Listing 4.1 contains Hop.h, the header file for the C++ program for the Hopfield network. The include files
listed in it are the stdio.h, iostream.h, and math.h. The iostream.h file contains the declarations and details of
the C++ streams for input and output. A network class and a neuron class, are declared in Hop.h. The data
//Hop.h V. Rao, H. Rao
int threshld(int) ;
void activation(int j[4]);
network(int*,int*,int*,int*);
};
Do'stlaringiz bilan baham: