codac  1.5.7
codac2_Action.h
Go to the documentation of this file.
1 
12 #ifndef __CODAC2_ACTION_H__
13 #define __CODAC2_ACTION_H__
14 
15 #include <vector>
16 #include "codac_IntervalVector.h"
17 #include "codac_Ctc.h"
18 
19 namespace codac2
20 {
21  class CtcAction;
22 
26  class Action
27  {
28 
29  };
30 
34  class OctaSym : public std::vector<int>, public Action
35  {
36  public:
37 
38  OctaSym(std::initializer_list<int> s);
39  OctaSym(const std::vector<int>& s);
40  CtcAction operator()(codac::Ctc& ctc) const;
41  codac::IntervalVector operator()(const codac::IntervalVector& x) const;
42  OctaSym invert() const;
43 
44  friend std::ostream& operator<<(std::ostream& str, const OctaSym& s);
45  };
46 
47  OctaSym operator*(const OctaSym& s1, const OctaSym& s2);
48 }
49 
50 #endif