Class IBSDPopulation.link

Object
link
Enclosing class:
IBSDPopulation

static class IBSDPopulation.link extends Object
A minimalstic helper class (or data structure) to represent a single directed link in the network structure. Undirected links are represented by two directed ones. This is used for Moran optimizations.
See Also:
  • Field Summary

    Fields
    Modifier and Type
    Field
    Description
    (package private) int
    The index of the individual at the head of the link.
    (package private) double
    The fitness of the individual at the tail end (for fitness based picking of individuals).
    (package private) int
    The index of the individual at the tail end of the link.
  • Constructor Summary

    Constructors
    Constructor
    Description
    Construct a new link.
  • Method Summary

    Methods inherited from class Object

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

    • source

      int source
      The index of the individual at the tail end of the link.
    • destination

      int destination
      The index of the individual at the head of the link.
    • fitness

      double fitness
      The fitness of the individual at the tail end (for fitness based picking of individuals).
  • Constructor Details

    • link

      public link()
      Construct a new link.