Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
|
#include <ExactCompare.h>
Static Public Member Functions | |
template<class SymbolType > | |
static int | compare (const string::LinearString< SymbolType > &u, const string::LinearString< SymbolType > &v) |
template<class SymbolType > | |
static int | compare (const string::CyclicString< SymbolType > &u, const string::CyclicString< SymbolType > &v) |
Implements exact comparison of string contents.
|
static |
Implementation of exact comparison of strings. The algorithm also handles rotated strings.
SymbolType | the of symbols in the string |
u | the first string to compare |
v | the second string to compare |
|
static |
Implementation of exact comparison of strings.
SymbolType | the of symbols in the string |
u | the first string to compare |
v | the second string to compare |