Neural networks : Introduction : Programming (4 of 7)

Binary calculator

In this section it would be a great help to download the calculator program and try it out first before looking at the code. If you didn't download the program before, you can download it now.

The important source code is included in the file calcFormUnit. If you have this file you can look at the code as it is being dissected.

The first interesting place to look at the code is at the constants declaration. There the synaptic strengthes are declared as shown

Proceeding in the code some type declarations of tCheckBoxes appear. They are the neurons input, and the only thing the user can alter in the program.

Previous Next