sun::parsing::DFA::SetHash

sun::parsing::DFA::SetHash

struct · Source (opens in a new tab)

struct sun::parsing::DFA::SetHash

Hashes sets of automaton states during deterministic-state construction.

Public Functions

operator()

public · function · Source (opens in a new tab)

size_t sun::parsing::DFA::SetHash::operator()(const std::vector< int32_t > &v) const noexcept

Hashes a set of NFA state identifiers for deterministic-state lookup.

Related: NFA