#include <nolfinet.h>
Inheritance diagram for NolfiNet:
Public Methods | |
NolfiNet (int inputs, int hiddens, int outputs, double xsize, double ysize, double tipRadius, double axonScale) | |
virtual void | decodeFrom (const Gentainer &g) |
virtual ANNetwork * | growNet () |
String | drawEPS () const |
Protected Methods | |
virtual bool | indexCells () |
virtual void | resolveTypes (int &inputs, int &hiddens, int &outputs) |
virtual void | indexInputs () |
virtual void | indexHiddens (int hiddens) |
virtual void | indexOutputs (int hiddens) |
virtual void | removeDuplicates (int &rOutputs) |
virtual int | connect (ANNetwork &net) const |
Definition at line 158 of file nolfinet.h.
|
Standard constructor.
Definition at line 319 of file nolfinet.cc. |
|
Connects the units in a FreeNetwork according to the connections between the temporary cells.
Definition at line 519 of file nolfinet.cc. Referenced by growNet(). |
|
Decodes the rewriting rules from the given genome.
Definition at line 343 of file nolfinet.cc. Referenced by NolfiEncoding::execute(). |
|
Draws an EPS image of the cell space, with the axon trees and all.
Definition at line 587 of file nolfinet.cc. Referenced by NolfiEncoding::execute(), and CangelosiEncoding::execute(). |
|
Executes the ontogeny of the cell space; starts rewriting from a single mother cell, rewrites a few times, grows the axons, etc.
Definition at line 469 of file nolfinet.cc. References connect(), and indexCells(). Referenced by NolfiEncoding::execute(), and CangelosiEncoding::execute(). |
|
Gives the cells a neuron index number and a neuron type specifier according to their location on the 2D-space.
Definition at line 369 of file nolfinet.cc. References indexHiddens(), indexInputs(), indexOutputs(), and resolveTypes(). Referenced by growNet(). |
|
Gives hidden neurons an index value in the final network.
Definition at line 9 of file extnolfi.cc. Referenced by indexCells(). |
|
Gives input neurons an index value in the final network.
Definition at line 3 of file extnolfi.cc. Referenced by indexCells(). |
|
Gives output neurons an index value in the final network.
Definition at line 33 of file extnolfi.cc. Referenced by indexCells(). |
|
Removes input and output cells that have duplicate ID values.
Definition at line 44 of file extnolfi.cc. |
|
Resolves types (input, hidden or output) for each cell according to their location in the cell space. The behaviour of this method is controlled by the mInputBorder and mOutputBorder variables. Definition at line 393 of file nolfinet.cc. Referenced by indexCells(). |