Algorithms_in_C++  1.0.0
Set of algorithms implemented in C++.
trie_multiple_search.cpp File Reference

Trie datastructure with search variants More...

#include <algorithm>
#include <cassert>
#include <cctype>
#include <cstring>
#include <iostream>
#include <queue>
Include dependency graph for trie_multiple_search.cpp:

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...
 

Detailed Description

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.

Author
Ghanashyam

Function Documentation

◆ main()

int main ( int  argc,
char const *  argv[] 
)

Main function.

Parameters
argccommandline argument count (ignored)
argvcommandline array of arguments (ignored)
Returns
0 on exit
463  {
464  test(); // run self-test implementations
465  return 0;
466 }
static void test()
Function to test a simple search before and after deleting an entry. And to test out the multiple var...
Definition: trie_multiple_search.cpp:422
Here is the call graph for this function: