paludis  Version 2.6.0
List of all members
paludis::DamerauLevenshtein Class Reference

#include <damerau_levenshtein.hh>

Basic Operations

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

Detailed Description

Object to calculate Damerau-Levenshtein distances between two strings.

Member Function Documentation

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: