Struct suffix_tree::Node [] [src]

pub struct Node { /* fields omitted */ }

A node in a suffix tree.

Methods

impl Node
[src]

An iterator over all children of this node.

An iterator over all ancestors of this node.

This includes the current node and the root node.

Traverse all children nodes in preorder.

This is the same as lexicographically traversing nodes in the tree.

An iterator over all leaves below this node.

A node is a leaf if and only if it has terminals. It may still have children nodes. (This fact suggests this SuffixTree implementation is bunk.)

An iterator over all suffix indices.

The size of the path label into this node.

The depth of this node (number of ancestors, not including self).

Returns true if and only if this node has some terminals.

Returns all terminal suffix indices.

Trait Implementations

impl Debug for Node
[src]

Formats the value using the given formatter.