public interface TreeGene<A,G extends TreeGene<A,G>> extends Gene<A,G>, FlatTree<A,G>
FlatTree interface, which makes the required
 storage layout explicit.| Modifier and Type | Method and Description | 
|---|---|
| default A | getValue()Return the value of the current  Treenode. | 
| G | newInstance(A allele,
           int childOffset,
           int childCount)Return a new tree gene with the given allele and the local tree
 structure. | 
getAllele, newInstance, newInstanceisValidchildOffset, flattenedNodesbreadthFirstIterator, breadthFirstStream, childAfter, childAtPath, childBefore, childCount, childIterator, childStream, depth, depthFirstIterator, depthFirstStream, equals, firstChild, firstLeaf, getChild, getIndex, getParent, getPath, getRoot, hashCode, identical, isAncestor, isChild, isDescendant, isLeaf, isRelated, isRoot, isSibling, iterator, lastChild, lastLeaf, leafCount, level, nextLeaf, nextNode, nextSibling, pathFromAncestorIterator, postorderIterator, postorderStream, preorderIterator, preorderStream, previousLeaf, previousNode, previousSibling, sharedAncestor, siblingCount, size, stream, toCompactString, toDottyString, toParenthesesString, toParenthesesString, toStringforEach, spliteratordefault A getValue()
TreeTree node. The value may be
 null.G newInstance(A allele, int childOffset, int childCount)
allele - the actual gene allelechildOffset - the offset of the first node child within the
        chromosomechildCount - the number of children of the new tree geneIllegalArgumentException - if the childCount is smaller
         than zero© 2007-2018 Franz Wilhelmstötter (2018-10-28 17:23)