Algorithms Library Toolkit
A toolkit for algorithms, especially for algorithms on formal languages
Static Public Member Functions
automaton::generate::NumberModuloAutomaton Class Reference

#include <NumberModuloAutomaton.h>

Static Public Member Functions

static automaton::DFA< std::string, unsigned > generate (unsigned base, unsigned modulo, unsigned result_modulo)
 

Detailed Description

Algorithm to generate an automaton recognising numbers in given base that have modulo equal to a concrete value.

Member Function Documentation

◆ generate()

automaton::DFA< std::string, unsigned > automaton::generate::NumberModuloAutomaton::generate ( unsigned  base,
unsigned  modulo,
unsigned  result_modulo 
)
static

Generates an automaton recognising numbers in given base that have modulo equal to a concrete value.

Parameters
basethe base of read number
modulothe requested modulo
result_modulothe final modulo
Here is the call graph for this function:

The documentation for this class was generated from the following files: