Interface TreeChromosome<A,​G extends TreeGene<A,​G>>

    • Method Detail

      • root

        default G root()
        Return the root gene of this chromosome. Since the gene type is also a Tree, you are able to assign it to one.
        final Tree<A, ?> t1 = root(); final Tree<?, ?> t2 = root();
        This method is also an alias for Chromosome.gene(), which returns the first gene of the chromosome.
        the root tree gene of this chromosome
        See Also: