Awali
Another Weighted Automata library
identities.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 AWALI_CORE_RAT_IDENTITIES_HH
18 # define AWALI_CORE_RAT_IDENTITIES_HH
19 
20 # include <iostream>
21 # include <string>
22 //#include <awali/sttc/misc/export.hh>
23 
24 namespace awali { namespace sttc //LIBAWALI_API
25 {
26  namespace rat
27  {
28 
31  enum class identities
32  {
34  trivial,
35 
38 
40  series,
41  };
42 
43  std::string to_string(identities i);
44  std::istream& operator>>(std::istream& is, identities& i);
45  std::ostream& operator<<(std::ostream& os, identities i);
46 
49 
50  } // namespace rat
51 }}//end of ns awali::stc
52 
53 #endif // !AWALI_CORE_RAT_IDENTITIES_HH
identities join(identities i1, identities i2)
identities meet(identities i1, identities i2)
std::istream & operator>>(std::istream &is, identities &i)
std::ostream & operator<<(std::ostream &o, type_t t)
Definition: printer.hxx:31
identities
A ratexpset can implement several different sets of identities on expressions.
Definition: identities.hh:32
@ trivial
Trivial identities only.
@ associativity
Trivial identities only + associativity.
@ series
Trivial identities plus series identities.
std::string to_string(identities i)
Main namespace of Awali.
Definition: ato.hh:22