RapidFuzz
Loading...
Searching...
No Matches
Public Attributes | List of all members
rapidfuzz::EditOp Struct Reference

Edit operations used by the Levenshtein distance. More...

#include <types.hpp>

Public Attributes

EditType type
 
size_t src_pos
 
size_t dest_pos
 

Detailed Description

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

Member Data Documentation

◆ dest_pos

size_t rapidfuzz::EditOp::dest_pos

index into the destination string

◆ src_pos

size_t rapidfuzz::EditOp::src_pos

index into the source string

◆ type

EditType rapidfuzz::EditOp::type

type of the edit operation


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