Earsar is a project mainly written in Java, it's free.
Simulate SAR and EAR sampling distributions
July 11, 2011 (C) Copyright 2011 by Solutions For Hire.
EARSAR is a program to simulate SAR and EAR sampling distributions for a given relative abundance distribution and degree of population clumping. It runs on Java 6.
EARSAR is meant to demonstrate and support the results of He and Hubbell (2011) Species–area relationships always overestimate extinction rates from habitat loss.
EARSAR is distributed in the hope that it will be useful, but WITHOUT ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
EARSAR is distributed in an executable JAR file.
Download the JAR file
https://github.com/downloads/hubbell-lab/earsar/earsar.jar
If Java is not installed on your machine install it.
Enter the command:
java -jar earsar.jar
The java source code includes comments that describe how the code works.
The EARSAR program is composed of 10 Java Files
Cell.java Creates a cell and the methods for getting information
from it. Number individual in cell, species in cell,
number of individual of species, etc.
CumulativeFraction.java Determines number of Species and abundance of
individuals for each species then computes a
CumulativeFraction based on the abundance of each
species, which is ordered from greater to lesser.
A method returns the ordered abundance array.
EarSar.java Main program that implement simulation.
FileTypes.java ENUM object containing names for output files.
GetUserInput.java Gets the input from the user.
Population.java Places individuals from different species into the
cell array until the number of individuals specified
by the users have been deployed to the cells.
PrintFiles.java Contains methods for printing out result files.
UserInputInt.java ENUM object for integer user input, which stores the
input and contains min and max allowed value for user
and initially a default value.
UserInputDoub.java ENUM object for double user input, which stores the
input and contains min and max allowed value for user
and initially a default value.
UserInputString.java ENUM object for string user input, which stores the
input and contains min and max allowed value for user
and initially a default value.