public class SpatialModellingFramework
extends java.lang.Object
Constructor and Description |
---|
SpatialModellingFramework()
empty constructor
|
Modifier and Type | Method and Description |
---|---|
void |
generateCaptures(int nCaptures)
generates a set of Captures for all animals covered by the framework
|
void |
generateMoves(int nIterations,
boolean external,
boolean is3D)
generates a set of Moves for all animals covered by the framework
|
void |
generateMoves(int nIterations,
double theMean,
double theSD,
boolean is3D)
generates a set of Moves for all animals covered by the framework
|
void |
generateMovesFromZero(int nIterations,
double theMean,
double theSD,
boolean is3D)
generates a set of Moves starting from zero for all animals covered by the framework
|
Constraint |
getConstraint()
returns the arena linked to the framework
|
Group |
getGroup()
returns the group of animals linked to the framework
|
void |
setAnalysisProcs(AnalysisProc eachMoveProc,
AnalysisProc groupMoveProc)
sets the procedues used to analyse the moves
|
void |
setConstraint(Constraint aConstraint)
links an arena to the framework
|
void |
setGroup(Group aPopulation)
links a group of animals to the framework
|
void |
setSpatialParameters(double mean,
double sd)
links an arena to the framework
|
public void setSpatialParameters(double mean, double sd)
mean
- mean of distancessd
- sd of distancespublic void setConstraint(Constraint aConstraint) throws java.lang.Exception
aConstraint
- a spatial constraintjava.lang.Exception
public Constraint getConstraint()
public void setGroup(Group aPopulation)
aPopulation
- the group of individuals covered by the frameworkpublic Group getGroup()
public void setAnalysisProcs(AnalysisProc eachMoveProc, AnalysisProc groupMoveProc)
eachMoveProc
- the procedure used to analyse each move of an animal, set
to null if nothing should be performedgroupMoveProc
- the procedure used to analyse once each animal of the group has
completed one move, set to null if nothing should be performedpublic void generateMovesFromZero(int nIterations, double theMean, double theSD, boolean is3D)
nIterations
- the desired number of iterationstheMean
- the mean distancetheSD
- the standard deviation in distancesis3D
- is the Move in 3D?public void generateMoves(int nIterations, double theMean, double theSD, boolean is3D)
nIterations
- the desired number of iterationstheMean
- the mean distancetheSD
- the standard deviation in distancesis3D
- is the Move in 3D?public void generateMoves(int nIterations, boolean external, boolean is3D)
nIterations
- the desired number of iterationsexternal
- use an external distribution of moves?is3D
- use points in 3D?public void generateCaptures(int nCaptures)
nCaptures
- the desired number of CapturesRH, 2017