MCPcopy Create free account
hub / github.com/comaps/comaps / Move

Method Move

libs/base/levenshtein_dfa.cpp:31–37  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

29 {}
30
31 void Move(LevenshteinDFA::State const & s, UniChar c, LevenshteinDFA::State & t)
32 {
33 t.Clear();
34 for (auto const & p : s.m_positions)
35 GetMoves(p, c, t);
36 t.Normalize();
37 }
38
39private:
40 void GetMoves(LevenshteinDFA::Position const & p, UniChar c, LevenshteinDFA::State & t)

Callers

nothing calls this directly

Calls 2

ClearMethod · 0.45
NormalizeMethod · 0.45

Tested by

no test coverage detected