OUTPUT:

A) .txt Files:
For each independent run (all parameter values being fixed), the program generates one ascii data file, containing the trajectories described by all foragers. The data of the first run is stored in the file named 0.txt, that of the second run in 1.txt, etc.., that of the last run in 49.txt in the case of 50 independent runs.
Each of these files contains a number of lines equal to iteraciones, the total number of iterations. Thus, line number n represents the state of the system at time n.
Each forager is labeled with a number (its ID number). The ID number ranges for 0 to 99, say, in the case of 100 foragers. The first 4 columns of a .txt result file are related to forager number 0. They tell, respectively,

1) the ID number, 2) the x-position of the forager, 3) the y-position of the forager, 4) the fruit content of the tree where the forager is located.
The following columns (5 to 8) tell the same information about forager number 1, and so forth. The last 4 columns tell the information of forager number 99 (in the case of 100 foragers).

B) Group size and duration:
Three result files are automatically generated after the (say, 50) independent runs are done.

1) The file < beta >-< monkeys >-grupos_reglon_vs_tamaņo.txt
contains the frequency distribution of group size, as observed during the 50 runs. For instance, if one given individual was observed alone during 100 time units, then this contribute to the size 1 with a weight of 100. To obtain a normalized distribution, each value of the second column must be divided by the sum over the raws of the second column.

2) The file < beta >-< monkeys >-duracion_vs_tamaņo.txt contains a matrix which typical form is:

Group size
0 0 0 ...
0 0 4 0 0
5 0 0 0 0
0 3 0 11 0 ...
Duration

The data are read starting from the lower left corner. In this example, the file tells that 3 groups of size 1 (lowest raw) were observed with duration 2 (second column), while 11 groups of size 1 had a duration of 4 time units. 5 groups of size 2 had a duration of 1 time unit, and 4 groups of size 3 a duration of 3.

3) The file < beta >-< monkeys >-grupos_vs_tamaņo.txt must be ignored.