Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
StringCompare.h
Go to the documentation of this file.
1
6#pragma once
7
8#include "string/CyclicString.h"
9#include "string/LinearString.h"
10
11namespace compare {
12
14public:
15 template < class SymbolType >
17
18 template < class SymbolType >
20};
21
22template < class SymbolType >
24 return a.getAlphabet ( ) == b.getAlphabet ( ) &&
25 a.getContent ( ) == b.getContent ( ) ;
26}
27
28template < class SymbolType >
30 throw "NYI";
31}
32
33} /* namespace compare */
34
Definition: StringCompare.h:13
static bool compare(const string::LinearString< SymbolType > &a, const string::LinearString< SymbolType > &b)
Definition: StringCompare.h:23
Cyclic string.
Definition: CyclicString.h:60
Linear string.
Definition: LinearString.h:57
const ext::set< SymbolType > & getAlphabet() const &
Definition: LinearString.h:103
const ext::vector< SymbolType > & getContent() const &
Definition: LinearString.h:238
Definition: AutomatonCompare.h:29