#include <GenotypeDecoder.h>
Inheritance diagram for Teem::GenotypeDecoder:

Those classes are responsible for decoding genotype into a controller.
Public Member Functions | |
| GenotypeDecoder (const std::string &root) | |
| Constructor, 0 controller input/output. | |
| virtual | ~GenotypeDecoder () |
| Virtual destructor, do nothing. | |
| virtual void | controllerIOSetup (unsigned inCount, unsigned outCount) |
| Setup controller IO related parameters. | |
| virtual Genome * | createGenome ()=0 |
| Create a random genome that is compatible with this decoder. | |
| virtual Controller * | decode (Genome *genome)=0 |
| Decode a genome to a controller. | |
Protected Attributes | |
| unsigned | inputCount |
| Number of controller inputs. | |
| unsigned | outputCount |
| Number of controller ouputs. | |
| std::string | root |
| Ishtar root. | |
1.4.2