Function noLZSS::next_leaf

Function Documentation

static cst_t::node_type noLZSS::next_leaf(cst_t &cst, cst_t::node_type lambda, size_t iterations = 1)

Advances a leaf node by a specified number of positions.

Moves from the current leaf node forward by ‘iterations’ positions in the suffix array order. This is used to advance the current factorization position.

Parameters:
  • cst – The compressed suffix tree

  • lambda – Current leaf node

  • iterations – Number of positions to advance (default: 1)

Returns:

The leaf node at the new position