bk-tree  0.1.4
Header-only Burkhard-Keller tree library
Public Member Functions | List of all members
bk_tree::metrics::IdentityDistance Class Referencefinal

Identity metric. More...

#include <bktree.hpp>

Inheritance diagram for bk_tree::metrics::IdentityDistance:
bk_tree::metrics::Distance< IdentityDistance >

Public Member Functions

integer_type compute_distance (std::string_view, std::string_view) const
 
- Public Member Functions inherited from bk_tree::metrics::Distance< IdentityDistance >
integer_type operator() (std::string_view s, std::string_view t) const
 

Detailed Description

Identity metric.

\(d(x, y) = 1\) for any \(x, y.\)


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