liblevenshtein 4.0.0
A library for generating Finite State Transducers based on Levenshtein Automata.
Loading...
Searching...
No Matches
comparator.h File Reference
Include dependency graph for comparator.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Namespaces

namespace  liblevenshtein
 Various utilities regarding Levenshtein transducers.
 

Functions

template<Algorithm Type>
auto liblevenshtein::compare (Position *lhs, Position *rhs) -> int
 Compares two Positions within the Levenshtein transducer.
 
template<>
auto liblevenshtein::compare< Algorithm::STANDARD > (Position *lhs, Position *rhs) -> int
 Compares two Positions for the standard Levenshtein transducer.
 
template<>
auto liblevenshtein::compare< Algorithm::TRANSPOSITION > (Position *lhs, Position *rhs) -> int
 Compares two Positions for the standard Levenshtein transducer extended with transposition.
 
template<>
auto liblevenshtein::compare< Algorithm::MERGE_AND_SPLIT > (Position *lhs, Position *rhs) -> int
 Compares two Positions for the standard Levenshtein transducer extended with merge and split.