libsemigroups  v3.0.0
C++ library for semigroups and monoids
Loading...
Searching...
No Matches
Aho Corasick

This file contains documentation for the functionality in the AhoCorasick class in libsemigroups.

Namespaces

namespace  libsemigroups::aho_corasick
 Namespace for AhoCorasick helper functions.
 

Classes

class  AhoCorasick
 For an implementation of the Aho-Corasick algorithm. More...
 

Functions

std::string to_human_readable_repr (AhoCorasick const &ac)
 Return a string representation.
 

Function Documentation

◆ to_human_readable_repr()

std::string to_human_readable_repr ( AhoCorasick const & ac)

Return a string representation of ac. This has the form <AhoCorasick with [ac.number_of_nodes] node(s)>.

Returns
A string containing a representation of ac.
Exceptions
This function guarantees not to throw a LibsemigroupsException.