Class GeneLocus.HomologousGeneLocus

java.lang.Object
com.hexagram2021.chromosomelib.common.gene_locus.GeneLocus
com.hexagram2021.chromosomelib.common.gene_locus.GeneLocus.HomologousGeneLocus
Enclosing class:
GeneLocus

public static class GeneLocus.HomologousGeneLocus extends GeneLocus
  • Constructor Details

    • HomologousGeneLocus

      public HomologousGeneLocus(int index, double possibilityOfMutation, double possibilityOfCrossingOver)
    • HomologousGeneLocus

      public HomologousGeneLocus(int leftIndex, int rightIndex, double possibilityOfMutation, double possibilityOfCrossingOver)
  • Method Details

    • index

      public int index(ChromosomeType chromosomeType)
      Specified by:
      index in class GeneLocus
      Parameters:
      chromosomeType - left or right.
    • leftIndex

      public int leftIndex()
    • rightIndex

      public int rightIndex()