0.07.18
C++ Open Travel Request Parsing Library
Loading...
Searching...
No Matches
Levenshtein.hpp
Go to the documentation of this file.
1
//
2
// Levenshtein Distance Algorithm: C++ Implementation by Anders Sewerin Johansen
3
//
4
#ifndef __OPENTREP_BOM_LEVENSHTEIN_HPP
5
#define __OPENTREP_BOM_LEVENSHTEIN_HPP
6
7
// //////////////////////////////////////////////////////////////////////
8
// Import section
9
// //////////////////////////////////////////////////////////////////////
10
// STL
11
#include <string>
12
// OpenTREP
13
#include <
opentrep/OPENTREP_Types.hpp
>
14
#include <
opentrep/bom/BomAbstract.hpp
>
15
16
namespace
OPENTREP
{
17
20
class
Levenshtein
:
public
BomAbstract
{
21
public
:
23
static
int
getDistance
(
const
std::string& iSource,
24
const
std::string& iTarget);
25
};
26
27
}
28
#endif
// __OPENTREP_BOM_LEVENSHTEIN_HPP
BomAbstract.hpp
OPENTREP_Types.hpp
OPENTREP::BomAbstract::BomAbstract
BomAbstract()
Definition
BomAbstract.hpp:57
OPENTREP::Levenshtein
Definition
Levenshtein.hpp:20
OPENTREP::Levenshtein::getDistance
static int getDistance(const std::string &iSource, const std::string &iTarget)
Definition
Levenshtein.cpp:13
OPENTREP
Definition
BasChronometer.cpp:10
Generated on Mon May 5 2025 00:00:00 for OpenTREP by
1.13.2