MTToolBox  0.2.10
TemperingCalculatable.hpp
Go to the documentation of this file.
1 #ifndef MTTOOLBOX_TEMPERING_CALCULATABLE_HPP
2 #define MTTOOLBOX_TEMPERING_CALCULATABLE_HPP
3 
30 #include <stdint.h>
31 #include <inttypes.h>
33 
34 namespace MTToolBox {
53  template<typename U, typename V = U>
55  : virtual public EquidistributionCalculatable<U, V> {
56  public:
57 
68 
87  virtual void setTemperingPattern(U mask, U pattern, int index) = 0;
88 
101  virtual void setUpTempering() = 0;
102 
117  virtual void setReverseOutput() = 0;
118 
128  virtual void resetReverseOutput() = 0;
129 
141  virtual bool isReverseOutput() = 0;
142  };
143 }
144 
145 #endif // MTTOOLBOX_TEMPERING_CALCULATABLE_HPP
virtual void resetReverseOutput()=0
Reset bit order of output.
virtual void setReverseOutput()=0
Changes bit order of output.
This class is an Abstract class for calculating dimension of equi-distribution for GF(2)-linear pseud...
Definition: EquidistributionCalculatable.hpp:50
Users can search tempering parameters by making GF(2)-linear pseudo random generator class which inhe...
Definition: TemperingCalculatable.hpp:54
virtual bool isReverseOutput()=0
Shows if bit order is reversed.
This class is an Abstract class for calculating dimension of equi-distribution for GF(2)-linear pseud...
virtual ~TemperingCalculatable()
Virtual destructor (always required)
Definition: TemperingCalculatable.hpp:67
virtual void setUpTempering()=0
If preparing is needed before generation, here is the place to prepare tempering parameters.
virtual void setTemperingPattern(U mask, U pattern, int index)=0
Set tempering parameters.
name space for MTToolBox