#include <magic/mobject.h>
#include <magic/mdatastream.h>
#include "nhp/genetics.h"
Go to the source code of this file.
Compounds | |
| class | AnyFloatGene |
| Abstract interface class for genes that encode a floating-point value. More... | |
| class | AnyIntGene |
| Abstract interface for any genes that encode an integer value. More... | |
| class | BinaryGene |
| A binary gene with values 0 and 1. More... | |
| class | BitFloatGene |
| Floating point value encoded genetically as a binary vector. More... | |
| class | BitIntGene |
| Integer gene that is implemented as a vector of BinaryGene genes. More... | |
| class | FloatGene |
| Floating-point gene with native floating point representation; implementation of Evolution Strategies real-valued genes. More... | |
| class | Gene |
| The abstract concept of a genetic structure encoding some specific phenotypic feature; the atomic unit of a Genstruct. More... | |
| class | InterGene |
| A reference gene. More... | |
| class | IntGene |
| Integer (or multivalue) gene with independent values. More... | |
Defines | |
| #define | DefGene(gclass) |
Definition in file genes.h.
|
|
Value: class gclass : public Gene { \ decl_dynamic (gclass);\ public:\ gclass (const GeneticID& name=NULL) : Gene (name) {;}\ gclass (const gclass& o) : Gene (o) {;}\ void init () {;}\ bool pointMutate (const MutationRate& k) {return false;}\ void copy (const Genstruct& o) {Gene::copy(o);}\ Genstruct* replicate () const {return new gclass (id);}\ bool execute (const GeneticMsg& msg) const;\ void addPrivateGenes (Gentainer& g, const StringMap& params);\ };
|
1.2.18