module Edits::Hamming

Defined in:

edits/hamming.cr

Class Method Summary

Class Method Detail

def self.distance(seq1, seq2) #

Calculate the Hamming distance between two sequences.

Note: a true distance metric, satisfies triangle inequality.


[View source]
def self.distance(seq1 : Int32 | Int64, seq2 : Int32 | Int64) #

[View source]