26#ifndef NonRandomEngine_h
27#define NonRandomEngine_h 1
61 void flatArray (
const int size,
double* vect);
64 virtual std::ostream &
put (std::ostream & os)
const;
65 virtual std::istream &
get (std::istream & is);
67 virtual std::istream &
getState ( std::istream & is );
69 std::string
name()
const;
70 static std::string
engineName() {
return "NonRandomEngine";}
72 std::vector<unsigned long>
put ()
const;
73 bool get (
const std::vector<unsigned long> & v);
74 bool getState (
const std::vector<unsigned long> & v);
79 bool sequenceHasBeenSet;
80 bool intervalHasBeenSet;
82 std::vector<double> sequence;
84 double randomInterval;
89 virtual void setSeed(
long ,
int) {};
90 virtual void setSeeds(
const long * ,
int) {};
91 virtual void saveStatus(
const char * )
const {};
92 virtual void restoreStatus(
const char * ) {};
93 virtual void showStatus()
const {};
virtual ~NonRandomEngine()
void setRandomSequence(double *s, int n)
void setNextRandom(double r)
virtual std::istream & getState(std::istream &is)
virtual std::istream & get(std::istream &is)
static std::string beginTag()
void setRandomInterval(double x)
std::vector< unsigned long > put() const
static std::string engineName()
void flatArray(const int size, double *vect)