Documentation of 'org.apache.commons.math3.genetics.ChromosomePair' Java class
ChromosomePair
org.apache.commons.math3.genetics

Class ChromosomePair



  • public class ChromosomePair
    extends java.lang.Object
    A pair of Chromosome objects.
    Since:
    2.0
    • Constructor Detail

      • ChromosomePair

        public ChromosomePair(Chromosome c1,
                              Chromosome c2)
        Create a chromosome pair.
        Parameters:
        c1 - the first chromosome.
        c2 - the second chromosome.
    • Method Detail

      • getFirst

        public Chromosome getFirst()
        Access the first chromosome.
        Returns:
        the first chromosome.
      • getSecond

        public Chromosome getSecond()
        Access the second chromosome.
        Returns:
        the second chromosome.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object

DMelt 3.0 © DataMelt by jWork.ORG

You see the box below because you did not login.