Ukkonen::State

struct State

The return type of traverse indicating the position reached by following a path in the tree.

Data members

pos

The position in the edge leading to the node v reached.

v

The index in Ukkonen::nodes of the node at the end of the position reached.

Constructors

State() = default

Default constructor.

State(State &&) = default

Default constructor.

State(State const &) = default

Default constructor.

State(node_index_type,edge_index_type)

Construct from index and position.

operator=(State &&) = default

Default constructor.

operator=(State const &) = default

Default constructor.

Operators

operator==(State const &) const noexcept

Compare states.