public static final class Readers.IntegerChromosome extends Object
IntegerChromosome
objects.
XML format
<int-chromosome length="3">
<min>-2147483648</min>
<max>2147483647</max>
<alleles>
<allele>-1878762439</allele>
<allele>-957346595</allele>
<allele>-88668137</allele>
</alleles>
</int-chromosome>
Modifier and Type | Method and Description |
---|---|
static Reader<Integer> |
alleleReader()
Return the default allele reader for the
IntegerChromosome . |
static IntegerChromosome |
read(InputStream in)
Read a new
IntegerChromosome from the given
input stream. |
static Reader<IntegerChromosome> |
reader()
Return a
IntegerChromosome reader. |
public static Reader<Integer> alleleReader()
IntegerChromosome
.public static Reader<IntegerChromosome> reader()
IntegerChromosome
reader.public static IntegerChromosome read(InputStream in) throws XMLStreamException
IntegerChromosome
from the given
input stream.in
- the data source of the chromosomeXMLStreamException
- if reading the chromosome failsNullPointerException
- if the given input stream is null
© 2007-2019 Franz Wilhelmstötter (2019-11-18 20:30)