|
RapidFuzz
|
Edit operations used by the Levenshtein distance. More...
#include <types.hpp>
Public Attributes | |
| EditType | type |
| size_t | src_pos |
| size_t | dest_pos |
Edit operations used by the Levenshtein distance.
This represents an edit operation of type type which is applied to the source string
Replace: replace character at src_pos with character at dest_pos Insert: insert character from dest_pos at src_pos Delete: delete character at src_pos
| size_t rapidfuzz::EditOp::dest_pos |
index into the destination string
| size_t rapidfuzz::EditOp::src_pos |
index into the source string
| EditType rapidfuzz::EditOp::type |
type of the edit operation