Class IBSD.Init

Object
Init
Enclosing class:
IBSD

public static class IBSD.Init extends Object
The initialization of populations with discrete 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.
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) double[]
    The arguments for the initialization.
    final CLOption
    Command line option to set the type of initial configuration.
    (package private) IBS
    The model that is using this initialization.
    (package private) IBSD.Init.Type
    The population update type.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Init(IBS ibs)
    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, 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 arguments for the initialization.
    • 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 IBSD.collectCLO(CLOParser).

      See Also:
  • Constructor Details

    • Init

      public Init(IBS ibs)
      Instantiate new initialization for use in IBS models.
      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

      public String toString()
      Overrides:
      toString in class Object