paludis Version 3.0.2
The one true package mangler
paludis::DamerauLevenshtein Class Reference

#include <damerau_levenshtein.hh>

Basic Operations

 DamerauLevenshtein (const std::string &name)
unsigned distance_with (const std::string &candidate) const

Detailed Description

Object to calculate Damerau-Levenshtein distances between two strings.

Member Function Documentation

◆ distance_with()

unsigned paludis::DamerauLevenshtein::distance_with ( const std::string & candidate) const

Compute the Damerau-Levenshtein to this candidate.


The documentation for this class was generated from the following file: