public class ChromosomePair
extends java.lang.Object
Chromosome
objects.Constructor and Description |
---|
ChromosomePair(Chromosome c1,
Chromosome c2)
Create a chromosome pair.
|
Modifier and Type | Method and Description |
---|---|
Chromosome |
getFirst()
Access the first chromosome.
|
Chromosome |
getSecond()
Access the second chromosome.
|
java.lang.String |
toString() |
public ChromosomePair(Chromosome c1, Chromosome c2)
c1
- the first chromosome.c2
- the second chromosome.public Chromosome getFirst()
public Chromosome getSecond()
public java.lang.String toString()
toString
in class java.lang.Object
"Copyright © 2010 - 2020 Adobe Systems Incorporated. All Rights Reserved"