Class IBSC.Init

Object
Init
Enclosing class:
IBSC

public static class IBSC.Init extends Object
The initialization of populations with continuous traits. This includes the initialization type as well as any accompanying arguments.
  • Nested Class Summary

    Nested Classes
    Modifier and Type
    Class
    Description
    static enum 
    Type of initial density distribution of traits.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (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
    Constructor
    Description
    Init(IBS ibs, int nTraits)
    Instantiate new initialization for use in IBS models.
  • Method Summary

    Modifier and Type
    Method
    Description
    double[][]
    Get the arguments of this initialization type.

    Methods inherited from class Object

    clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
  • Field Details

    • ibs

      IBS ibs
      The model that is using this initialization. This is specific to IBS models.
    • type

      The population update type.
      See Also:
    • args

      double[][] args
      The array of arguments for the initialization of each trait.
    • clo

      public final CLOption 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

      public Init(IBS ibs, int nTraits)
      Instantiate new initialization for use in IBS models.
      Parameters:
      ibs - the model using this initialization
      nTraits - 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: