tlx
LevenshteinStandardICaseParameters 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 case-insensitively.

Definition at line 44 of file levenshtein.hpp.

Member Function Documentation

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

Definition at line 48 of file levenshtein.hpp.

Member Data Documentation

const unsigned int cost_insert_delete
static

Definition at line 45 of file levenshtein.hpp.

const unsigned int cost_replace
static

Definition at line 46 of file levenshtein.hpp.


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