(Event+Time).Variant Operators  2.3
Operators for Timed Discrete Event Systems in Dioids
FactorySeriesTg.h
1 #pragma once
2 #include "factoryT.h"
3 #include "../../etvo/seriesTg/seriesTg.h"
4 
5 namespace etvo
6 {
7  class FactorySeriesTg :public Factory<seriesTg>
8  {
9  private:
10  unsigned int _nbTerms;
11  etvo::gd _offset;
12  bool _fixedOffset;
13  bool _fixedSlope;
14  bool _fixedGain;
15  etvo::gd _r;
16  int _range;
17  unsigned int _M;
18  unsigned _B;
19  int _percentPoly;
20  int _percentEps;
21  public:
22 
23  FactorySeriesTg(unsigned int nbTerms, unsigned int M,unsigned int B,const etvo::gd & slopeR,
24  bool fixedSlope = true, bool fixedGain = true,
25  bool fixedOff = true,
26  const etvo::gd & off = gd(0, 0), int range = 0,
27  int percentPoly = 10, int percentEps = 2);
28 
29  virtual etvo::seriesTg create() const;
30  };
31 }
Class for ultimately-periodic series in the semiring T[[g]].
Definition: seriesTg.h:25
Definition: etvoException.cpp:5
Definition: factoryT.h:13
Definition: FactorySeriesTg.h:7
Wrapper class to mmgd::gd from MinMaxGD library.
Definition: gdWrapper.h:36