Main Page   Class Hierarchy   Compound List   File List   Compound Members  

pheromone.h

00001 #ifndef PHEROMONE_H
00002 #define PHEROMONE_H 1
00003 
00004 class portion;
00005 
00007 class pheromone {
00008     double departurePh;
00009     double returnPh;
00010     double maxValue;
00011     char hemisphere;
00012     float diffusionPercentage;
00013     float extinctionPercentage;
00014     portion *location;
00015 
00016  public:
00021     pheromone(portion *location, char hemisphere);
00022     ~pheromone();
00025     void update();
00030     double modifyDeparture(double modifier);
00035     double modifyReturn(double modifier);
00038     double getDeparture();
00041     double getReturn();
00044     double getPheromone(char type); // 'r' or 'd'
00047     char getHemisphere();
00049     double getMax();
00050 };
00051 #endif

Generated on Mon Jun 14 09:29:37 2004 by doxygen1.2.15