MTToolBox  0.2.10
AlgorithmTempering.hpp
Go to the documentation of this file.
1 #ifndef MTTOOLBOX_ALGORITHM_TEMPERING_HPP
2 #define MTTOOLBOX_ALGORITHM_TEMPERING_HPP
3 
24 #include <iostream>
25 #include <iomanip>
26 #include <cstdlib>
27 #include <unistd.h>
29 
30 namespace MTToolBox {
61  template<typename U, typename V = U>
63  public:
64 
74  virtual ~AlgorithmTempering() {}
75 
93  virtual int operator()(TemperingCalculatable<U, V>& rand,
94  bool verbose = false) = 0;
95 
107  virtual bool isLSBTempering() const {
108  return false;
109  }
110  };
111 }
112 
113 #endif // MTTOOLBOX_ALGORITHM_TEMPERING_HPP
virtual ~AlgorithmTempering()
Virtual destructor (always required)
Definition: AlgorithmTempering.hpp:74
Abstruct class for searching tempering parameters.
virtual int operator()(TemperingCalculatable< U, V > &rand, bool verbose=false)=0
Search tempering parameters.
Users can search tempering parameters by making GF(2)-linear pseudo random generator class which inhe...
Definition: TemperingCalculatable.hpp:54
Algorithm that search tempering parameters to improve dimension of equi-distribution of output of pse...
Definition: AlgorithmTempering.hpp:62
virtual bool isLSBTempering() const
Shows if searching tempering parameters is from LSBs.
Definition: AlgorithmTempering.hpp:107
name space for MTToolBox