public class ChromosomePair extends 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.
|
String |
toString() |
public ChromosomePair(Chromosome c1, Chromosome c2)
c1
- the first chromosome.c2
- the second chromosome.public Chromosome getFirst()
public Chromosome getSecond()
Copyright © 2003–2016 The Apache Software Foundation. All rights reserved.