#include <genetics.h>
Public Methods | |
GeneticMsg (const GeneticID &rcvr, Individual &ind) | |
virtual void | pushCaller (Genstruct *clr) |
Genstruct * | getCaller () const |
Public Attributes | |
const GeneticID & | receiver |
Individual & | host |
Definition at line 77 of file genetics.h.
|
Create a genetic message.
Definition at line 89 of file genetics.h. |
|
Returns the caller that was previously pushed.
Definition at line 109 of file genetics.h. |
|
Pushes the current caller into call stack. Use this like as follows: gmsg.pushCaller (this); child.execute (gmsg); Since the caller is not currently implemented with stack, it should be repushed if another children are successively executed. (This method is virtual only because we want to have a virtual table for the class!) Definition at line 106 of file genetics.h. |
|
The individual whose genome we are handling. This information is available for genes to allow them to decode themselves as phenotypes of the individual. It is also possible to activate or seek other genes of the host. Definition at line 120 of file genetics.h. Referenced by InterGene::execute(), and GeneticMsg(). |
|
The name of the gene that is supposed to receive this message.
Definition at line 112 of file genetics.h. Referenced by Gentainer::execute(), and GeneticMsg(). |