public interface TreeChromosome<A,G extends TreeGene<A,G>> extends Chromosome<G>
| Modifier and Type | Method and Description |
|---|---|
default G |
getRoot()
Deprecated.
Use
root() instead |
default G |
root()
Return the root gene of this chromosome.
|
as, gene, get, getGene, getGene, newInstance, toSeqiterator, length, listIterator, spliterator, streaminstances, newInstanceisValiddefault G root()
Tree, you are able to assign it to one.
final Tree<A, ?> t1 = root();
final Tree<?, ?> t2 = root();Chromosome.gene(), which returns the
first gene of the chromosome.Chromosome.gene()@Deprecated default G getRoot()
root() insteadTree, you are able to assign it to one.
final Tree<A, ?> t1 = root();
final Tree<?, ?> t2 = root();Chromosome.gene(), which returns the
first gene of the chromosome.Chromosome.gene()© 2007-2020 Franz Wilhelmstötter (2020-02-18 20:08)