Main Page   Class Hierarchy   Compound List   File List   Compound Members   File Members  

nolfi.h

Go to the documentation of this file.
00001 
00002 #ifndef __NOLFI_H__
00003 #define __NOLFI_H__
00004 
00005 #include "anngenes.h"
00006 
00007 // Internals
00008 class NolfiEncoding;
00009 
00010 
00012 //                                                                           //
00013 //       |   |      |     o -----                      | o                   //
00014 //       |\  |      |  __   |       _    ___           |     _               //
00015 //       | \ |  __  | /   | |---  |/ \  |   \  __   ---| | |/ \   ___        //
00016 //       |  \| /  \ | +-- | |     |   | |     /  \ (   | | |   | (   \       //
00017 //       |   | \__/ | |   | |____ |   |  \__/ \__/  ---| | |   |  ---/       //
00018 //                    |                                           __/        //
00020 
00034 class NolfiEncoding : public ANNEncoding {
00035     decl_dynamic (NolfiEncoding);
00036   public:
00037                         NolfiEncoding () {FORBIDDEN}
00038     
00051                         NolfiEncoding       (const GeneticID& name,
00052                                              const StringMap& params);
00053                         NolfiEncoding       (const NolfiEncoding& other);
00054     
00056     virtual Genstruct*  replicate           () const {return new NolfiEncoding (*this);}
00058     virtual void        copy                (const Genstruct& other);
00060     virtual bool        execute             (const GeneticMsg& msg) const;
00062     virtual void        addPrivateGenes     (Gentainer& g, const StringMap& params);
00063 
00064   protected:
00065     int     mTypes;         // Number of cell identities. Originally 16
00066     int     mXSize;         // X-size of the cell grid. Originally 7
00067     int     mYSize;         // Y-size of the cell grid. Originally 21
00068     double  mTipRadius;     // Tip radius, default: 1.0
00069     double  mAxonScale;     // Axon size scaling. Default: 1.0
00070     
00071 };
00072 
00073 
00074 #endif
00075 

Generated on Thu Feb 10 20:21:26 2005 for Annalee by doxygen1.2.18