C++ Implementation
We use the classes we created for BAM implementation in C++, except that we call the neuron class
fzneuron, and we do not need some of the methods or functions in the network class. The header file, the
source file, and the output from an illustrative run of the program are given in the following. The header file is
called fuzzyam.hpp, and the source file is called fuzzyam.cpp.
Program details
The program details are analogous to the program details given in Chapter 8. The computations are done with
fuzzy logic. Unlike in the nonfuzzy version, a single exemplar fuzzy vector pair is used here. There are no
transformations to bipolar versions, since the vectors are fuzzy and not binary and crisp.
A neuron in the first layer is referred to as anrn, and the number of neurons in this layer is referred to as
Do'stlaringiz bilan baham: |