Class IBSD.Init
Object
Init
- Enclosing class:
IBSD
The initialization of populations with discrete traits. This includes the
initialization type as well as any accompanying arguments.
- Author:
- Christoph Hauert
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumType of initial density distribution. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) double[]The arguments for the initialization.final CLOptionCommand line option to set the type of initial configuration.(package private) IBSThe model that is using this initialization.(package private) IBSD.Init.TypeThe population update type. -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
ibs
IBS ibsThe model that is using this initialization. This is specific to IBS models. -
type
-
args
double[] argsThe arguments for the initialization. -
clo
Command line option to set the type of initial configuration.Note: option not automatically added. Models that implement different initialization types should load it in
IBSD.collectCLO(CLOParser).- See Also:
-
-
Constructor Details
-
Init
Instantiate new initialization for use in IBSmodels.- Parameters:
ibs- the model using this initialization
-
-
Method Details
-
getArgs
public double[] getArgs()Get the arguments of this initialization type.- Returns:
- the arguments associated with this initialization type
- See Also:
-
toString
-