/*Parameters for aapjes.c*/ //INITIALIZATION************************************************************************* #define NUMANIMATINIT 20 //Number of individuals //GROUPING******************************************************************************** #define MAXVIEW 30 //Max radius used to look for neighbour //to rejoin group (MIN = 20, as SAFESPACE = 10) #define SAFENUMBERS 0 //Number of neighbour needed to feel safe #define NEIGH_RULE_SWITCH 2 //1 = go to nearest neighbour (observed within MAXVIEW) //2 = go to center group //(i.e. average coordinate of neighbours in view (MAXVIEW) #define ADJUSTDIRPROB 0.0 //Probability to adjust direction after rejoining group //(within SAFESPACE = 10) #define FORWARDERROR 0.0 //Error in forward direction //ACTION DURATIONS (have to be more than zero)************************ #define MTGT 1.0 //Move to group time #define LFCT 1.0 //Look for food time #define NT 1.0 //Doing nothing time #define ET 10.0 //Eating time #define MTFT 1.0 //Move to food time #define MFT 1.0 //Move forward time #define MRT 1.0 //Move random time (implemented if cannot move forward) //ENVIRONMENT*************************************************************************** #define HOMRESPROB 0.5 //Density of food = number of (1 = full field) #define PATCHRESPROB 0.0 //Density of food in patches (adius = 10) #define PATCHES 100 //Number of patches (patches are randomly placed in field) #define XFIELD 400 //Size of field in X-direction (should be bigger than maxview) #define YFIELD 400 //Size of field in Y-direction #define SCALE 2 //Zoom level (minimum = 1) /*End file*/