Awali
Another Weighted Automata library
standard.hh
Go to the documentation of this file.
1 // This file is part of Awali.
2 // Copyright 2016-2022 Sylvain Lombardy, Victor Marsault, Jacques Sakarovitch
3 //
4 // Awali is a free software: you can redistribute it and/or modify
5 // it under the terms of the GNU General Public License as published by
6 // the Free Software Foundation, either version 3 of the License, or
7 // (at your option) any later version.
8 //
9 // This program is distributed in the hope that it will be useful,
10 // but WITHOUT ANY WARRANTY; without even the implied warranty of
11 // MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
12 // GNU General Public License for more details.
13 //
14 // You should have received a copy of the GNU General Public License
15 // along with this program. If not, see <http://www.gnu.org/licenses/>.
16 
17 #ifndef DYN_MODULES_STANDARD_HH
18 #define DYN_MODULES_STANDARD_HH
19 
20 #include <iostream>
21 #include <unordered_map>
23 #include <awali/dyn/core/ratexp.hh>
26 
27 namespace awali {
28  namespace dyn {
29 
41 
52 
53 
54  namespace internal {
60  }
61 
62 
63 
64 
79 
104 
115  }
116 }//end of ns awali::dyn
117 
118 #endif
An automaton_t is essentially a shared pointer to an abstract_automaton_t, but also contains static f...
Definition: automaton.hh:93
An options_t is a set of optional parameters that is passed on to called functions.
Definition: options.hh:86
Main class for representing rational expresson at the dynamical layer.
Definition: ratexp.hh:66
automaton_t standard(ratexp_t exp)
automaton_t left_mult_standard(automaton_t aut1, weight_t w, options_t opts={})
Produces an automaton that associates with every word the weight&#160;(w * x), where x is the weight assoc...
automaton_t standard(automaton_t aut, options_t opts={})
Makes aut standard or return a new standard automaton equivalent to aut.
bool is_standard(automaton_t aut)
Tests whether aut is standard.
automaton_t star(automaton_t aut, options_t opts={})
Builds a standard automaton that recognizes the star of the language of aut.
automaton_t sum_of_standard(automaton_t aut1, automaton_t aut2, options_t opts={})
Sums standard automaton aut2 into standard automaton au1 or computes a new standard automaton that is...
Main namespace of Awali.
Definition: ato.hh:22
Structure used to erase the type of labels/weights at the dyn layer.
Definition: any.hh:59