Thrill  0.1
LevenshteinStandardParameters Struct Reference

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.

#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 

Definition at line 36 of file levenshtein.hpp.

Member Data Documentation

◆ cost_insert_delete

const unsigned int cost_insert_delete = 1

Definition at line 33 of file levenshtein.hpp.

◆ cost_replace

const unsigned int cost_replace = 1

Definition at line 34 of file levenshtein.hpp.

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