#include <cangelosinet.h>
Public Methods | |
CangCellDescr (const Gentainer &g, int rule, int daughter) | |
void | decodeFrom (const Gentainer &g, int rule, int daughter) |
Static Public Methods | |
void | addGenesTo (Gentainer &g, const StringMap ¶ms) |
This is an internal, temporary class; it is used during the ontogenetic process.
The rewriting rules have form C -> CC, where C is a cell. This class implements the definition of C, but not it's instance.
Notice that the rewriting replaces some parameters of the mother cell totally, while some parameters it only modifies (such as the x,y-location).
Definition at line 35 of file cangelosinet.h.
|
Standard constructor. See decodeFrom() for the description of the parameters. Definition at line 44 of file cangelosinet.h. References decodeFrom(). |
|
Add the genes that this class requires to the given genome.
Definition at line 125 of file cangelosi.cc. Referenced by CangelosiEncoding::addPrivateGenes(). |
|
Decodes the cell description from the given genome.
Definition at line 150 of file cangelosi.cc. Referenced by CangCellDescr(). |