#include <nolfinet.h>
Inheritance diagram for NolfiCell:
Public Methods | |
void | make () |
void | decodeFrom (const Gentainer &g, int i) |
void | developAxon (Array< Coord2D > &result, double scale) const |
const Coord2D & | pos () const |
void | setPos (const Coord2D &npos) |
void | setPos (double x, double y) |
void | setTipRadius (double r) |
void | mapTo (int neuron) |
void | drawEPS (EPSDevice &dc, double scale) const |
void | check () const |
Static Public Methods | |
void | addGenesTo (Gentainer &g, int i, int types, int xsize, int ysize, const StringMap ¶ms) |
The NolfiCells are always contained in a NolfiNet. The cell has an ability to sprout a L-System axon tree from itself, where the shape of the tree is determined by parameters encoded in the genome.
Definition at line 56 of file nolfinet.h.
|
Add the genes for a single cell (with given index) to the given genome.
Definition at line 200 of file nolfinet.cc. Referenced by NolfiEncoding::addPrivateGenes(). |
|
Implementation for Object.
Definition at line 297 of file nolfinet.cc. |
|
Read the cell with given index description from given genetic container.
Definition at line 229 of file nolfinet.cc. |
|
Grows an "axon tree" L-System from the cell.
Definition at line 263 of file nolfinet.cc. References NolfiTurtle::getTips(). |
|
Draws the image of the cell and it's axon tree into the given graphics driver.
Definition at line 284 of file nolfinet.cc. |
|
Initializes the cell.
Reimplemented in CangelosiCell. Definition at line 147 of file nolfinet.cc. Referenced by CangelosiCell::make(). |
|
The NolfiCell is an temporary object. The internal neuron index tells it's identity in the final network. If the value is EMPTYID (-1), the neuron will not exist in the final network. Definition at line 99 of file nolfinet.h. |
|
Definition at line 75 of file nolfinet.h. |
|
Sets the coordinates of the cell in the cell space.
Definition at line 85 of file nolfinet.h. |
|
Sets the coordinates of the cell in the cell space.
Definition at line 80 of file nolfinet.h. |
|
Sets the connection radius of the axon tips. This radius determines how far away the tip can be from another neuron to create an actual connection.
Definition at line 93 of file nolfinet.h. |