| Package | Description |
|---|---|
| org.deeplearning4j.nn.layers.feedforward.autoencoder.recursive |
| Modifier and Type | Method and Description |
|---|---|
<T extends Tree> |
Tree.getLeaves()
Gets the leaves of the tree.
|
<T extends Tree> |
Tree.getLeaves(List<T> list)
Gets the leaves of the tree.
|
| Modifier and Type | Method and Description |
|---|---|
Tree |
Tree.ancestor(int height,
Tree root)
Returns the ancestor of the given tree
|
Tree |
Tree.clone() |
Tree |
Tree.firstChild() |
Tree |
Tree.lastChild() |
Tree |
Tree.parent() |
Tree |
Tree.parent(Tree root)
Returns the parent of the passed in tree via traversal
|
| Modifier and Type | Method and Description |
|---|---|
List<Tree> |
Tree.children() |
List<Tree> |
Tree.getChildren() |
| Modifier and Type | Method and Description |
|---|---|
Tree |
Tree.ancestor(int height,
Tree root)
Returns the ancestor of the given tree
|
int |
Tree.depth(Tree node)
Returns the distance between this node
and the specified subnode
|
Tree |
Tree.parent(Tree root)
Returns the parent of the passed in tree via traversal
|
void |
Tree.setParent(Tree parent) |
| Modifier and Type | Method and Description |
|---|---|
void |
Tree.connect(List<Tree> children)
Connects the given trees
and sets the parents of the children
|
| Constructor and Description |
|---|
Tree(Tree tree)
Clone constructor (all but the children)
|
Tree(Tree parent,
List<String> tokens) |
Copyright © 2021. All rights reserved.