Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
alib2aux
src
compare
TrieCompare.h
Go to the documentation of this file.
1
6
#pragma once
7
8
#include <alib/trie>
9
#include <
common/DefaultSymbolType.h
>
10
11
namespace
compare
{
12
13
class
TrieCompare
{
14
public
:
15
template
<
class
R,
class
T >
16
static
bool
compare
(
const
ext::trie < R, T >
& a,
const
ext::trie < R, T >
& b ) {
17
return
a == b;
18
}
19
};
20
21
}
/* namespace compare */
22
DefaultSymbolType.h
compare::TrieCompare
Definition:
TrieCompare.h:13
compare::TrieCompare::compare
static bool compare(const ext::trie< R, T > &a, const ext::trie< R, T > &b)
Definition:
TrieCompare.h:16
ext::trie
Class introducing a trie with interface trying to be close to the interface of standard library conta...
Definition:
trie.hpp:47
compare
Definition:
AutomatonCompare.h:29
Generated on Mon Dec 27 2021 10:21:52 for Algorithms Library Toolkit by
1.9.2