Thrill  0.1
LevenshteinStandardICaseParameters Struct Reference

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.

#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 = 1
 
static const unsigned int cost_replace = 1
 

Member Function Documentation

◆ char_equal()

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

Definition at line 48 of file levenshtein.hpp.

References tlx::to_lower().

Member Data Documentation

◆ cost_insert_delete

const unsigned int cost_insert_delete = 1
static

Definition at line 45 of file levenshtein.hpp.

◆ cost_replace

const unsigned int cost_replace = 1
static

Definition at line 46 of file levenshtein.hpp.


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