|
Algorithms_in_C++
1.0.0
Set of algorithms implemented in C++.
|
Trie datastructure with search variants More...
#include <algorithm>#include <cassert>#include <cctype>#include <cstring>#include <iostream>#include <queue>Classes | |
| class | operations_on_datastructures::trie_operations::Tnode |
| Class defining the structure of trie node and containing the methods to perform operations on them. More... | |
Namespaces | |
| operations_on_datastructures | |
| for std::priority_queue | |
| trie_operations | |
| Functions for Trie datastructure implementation. | |
Functions | |
| static void | test () |
| Function to test a simple search before and after deleting an entry. And to test out the multiple variants of search. | |
| int | main (int argc, char const *argv[]) |
| Main function. More... | |
Trie datastructure with search variants
This provides multiple variants of search functions on a trie structure utilizing STL. The trie is valid for only English alphabets.
| int main | ( | int | argc, |
| char const * | argv[] | ||
| ) |
Main function.
| argc | commandline argument count (ignored) |
| argv | commandline array of arguments (ignored) |