public interface TreeChromosome<A,G extends TreeGene<A,G>> extends Chromosome<G>
| Modifier and Type | Method and Description |
|---|---|
default G |
getRoot()
Return the root gene of this chromosome.
|
as, getGene, getGene, iterator, length, newInstance, stream, toSeqisValidforEach, spliteratorinstances, newInstancedefault G getRoot()
Tree, you are able to assign it to one.
final Tree<A, ?> t1 = getRoot();
final Tree<?, ?> t2 = getRoot();Chromosome.getGene(), which returns the
first gene of the chromosome.Chromosome.getGene()© 2007-2019 Franz Wilhelmstötter (2019-11-18 20:30)