In our C++ implementation of a discrete bidirectional associative memory network, we create classes for
so on from it. The
network class
is declared as a friend class in these other classes. Now we present the
header and source files, called bamntwrk.h and bamntwrk.cpp. Since we reused our previous code from the
Hopfield network of Chapter 4, there are a few data members of classes that we did not put to explicit use in
the program. We call the neuron class bmneuron to remind us of BAM.
Do'stlaringiz bilan baham: