public static final class Writers.BoundedChromosome extends Object
BoundedChromosome objects.
XML template
<root-name length="3">
<min>aaa</min>
<max>zzz</max>
<alleles>
<allele>iii</allele>
<allele>fff</allele>
<allele>ggg</allele>
</alleles>
</root-name>
| Modifier and Type | Method and Description |
|---|---|
static <A extends Comparable<? super A>,G extends BoundedGene<A,G>,C extends BoundedChromosome<A,G>> |
writer(String rootName,
Writer<? super A> alleleWriter)
Create a bounded chromosome writer with the given configuration.
|
public static <A extends Comparable<? super A>,G extends BoundedGene<A,G>,C extends BoundedChromosome<A,G>> Writer<C> writer(String rootName, Writer<? super A> alleleWriter)
A - the allele typeG - the bounded gene typeC - the bounded chromosome typerootName - the name of the root element. E.g. int-chromosomealleleWriter - the XML writer used for the allelesNullPointerException - if one of the arguments is null© 2007-2019 Franz Wilhelmstötter (2019-11-18 20:30)