Awali
Another Weighted Automata library
awali
dyn
algos
random.hh
Go to the documentation of this file.
1
2
// This file is part of Awali.
3
// Copyright 2016-2022 Sylvain Lombardy, Victor Marsault, Jacques Sakarovitch
4
//
5
// Awali is a free software: you can redistribute it and/or modify
6
// it under the terms of the GNU General Public License as published by
7
// the Free Software Foundation, either version 3 of the License, or
8
// (at your option) any later version.
9
//
10
// This program is distributed in the hope that it will be useful,
11
// but WITHOUT ANY WARRANTY; without even the implied warranty of
12
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13
// GNU General Public License for more details.
14
//
15
// You should have received a copy of the GNU General Public License
16
// along with this program. If not, see <http://www.gnu.org/licenses/>.
17
18
#include<cmath>
19
#include<random>
20
#include<ctime>
21
#include<queue>
22
#include <
awali/dyn/modules/automaton.hh
>
23
#include <
awali/dyn/modules/context.hh
>
24
25
#ifndef AWALI_DYN_RANDOM_HH
26
#define AWALI_DYN_RANDOM_HH
27
28
namespace
awali
{
namespace
dyn {
29
namespace
factory {
37
automaton_t
randomDFA
(
unsigned
size, std::string alph);
38
}}}
39
#endif
40
awali::dyn::automaton_t
An automaton_t is essentially a shared pointer to an abstract_automaton_t, but also contains static f...
Definition:
automaton.hh:93
automaton.hh
context.hh
awali::dyn::factory::randomDFA
automaton_t randomDFA(unsigned size, std::string alph)
<> Generates a random deterministic automaton over alphabet alph with size states.
awali
Main namespace of Awali.
Definition:
ato.hh:22
Generated on Tue Dec 20 2022 19:47:02 for Awali by
1.9.1