Package org.evoludo.simulator.models
Class IBSC.Init
Object
Init
- Enclosing class:
IBSC
The initialization of populations with continuous traits. This includes the
initialization type as well as any accompanying arguments.
-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enum
Type of initial density distribution of traits. -
Field Summary
FieldsModifier and TypeFieldDescription(package private) double[][]
The array of arguments for the initialization of each trait.final CLOption
Command line option to set the type of initial configuration.(package private) IBS
The model that is using this initialization.(package private) IBSC.Init.Type
The population update type. -
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptiondouble[][]
getArgs()
Get the arguments of this initialization type.
-
Field Details
-
ibs
IBS ibsThe model that is using this initialization. This is specific to IBS models. -
type
IBSC.Init.Type typeThe population update type.- See Also:
-
args
double[][] argsThe array of arguments for the initialization of each trait. -
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
IBSC.collectCLO(CLOParser)
.- See Also:
-
-
Constructor Details
-
Init
Instantiate new initialization for use in IBSmodel
s.- Parameters:
ibs
- the model using this initializationnTraits
- the number of traits
-
-
Method Details
-
getArgs
public double[][] getArgs()Get the arguments of this initialization type.- Returns:
- the arguments associated with this initialization type
- See Also:
-