public static final class Readers.BitChromosome extends Object
XML
<bit-chromosome length="20" ones-probability="0.5">11100011101011001010</bit-chromosome>
}| Modifier and Type | Method and Description |
|---|---|
static BitChromosome |
read(InputStream in)
Read a new
BitChromosome from the given input
stream. |
static Reader<BitChromosome> |
reader()
Return a XML reader for
BitChromosome objects. |
public static Reader<BitChromosome> reader()
BitChromosome objects.public static BitChromosome read(InputStream in) throws XMLStreamException
BitChromosome from the given input
stream.in - the data source of the bit-chromosomeXMLStreamException - if reading the chromosome failsNullPointerException - if the given input stream is null© 2007-2019 Franz Wilhelmstötter (2019-11-18 20:30)