tlx
LevenshteinStandardParameters Struct Reference

Standard parameters to levenshtein distance function. More...

#include <levenshtein.hpp>

Static Public Member Functions

static bool char_equal (const char &a, const char &b)
 

Static Public Attributes

static const unsigned int cost_insert_delete
 
static const unsigned int cost_replace
 

Detailed Description

Standard parameters to levenshtein distance function.

Costs are all 1 and characters are compared directly.

Definition at line 32 of file levenshtein.hpp.

Member Function Documentation

static bool char_equal ( const char &  a,
const char &  b 
)
inlinestatic

Definition at line 36 of file levenshtein.hpp.

Member Data Documentation

const unsigned int cost_insert_delete
static

Definition at line 33 of file levenshtein.hpp.

const unsigned int cost_replace
static

Definition at line 34 of file levenshtein.hpp.


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