Skip to content

A C# implementation of the Running Karp-Rabin Greedy String Tiling Algorithm

License

Notifications You must be signed in to change notification settings

mdi1984/RKR-GST

Repository files navigation

Running Karp-Rabin GST

A C# implementation of the Running Karp-Rabin Greedy String Tiling Algorithm

Algorithm

http://sydney.edu.au/engineering/it/research/tr/tr463.pdf

Usage

  var submissionA = new SimpleSubmission<char>(new char[] { 'a', 'd', 'o', 'r', 'u', 'n', 'r', 'u', 'n' });
  var submissionB = new SimpleSubmission<char>(new char[] { 'r', 'u', 'n', 'a', 'd', 'o', 'r', 'u', 'n' });
  
  var comparator = new Comparator<char>(6, submissionA, submissionB); // 6 = mimum match length
  var result = comparator.Compare();

About

A C# implementation of the Running Karp-Rabin Greedy String Tiling Algorithm

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages