41 #ifndef HepRanshiEngine_h 42 #define HepRanshiEngine_h 66 void flatArray(
const int size,
double* vect);
72 void setSeeds(
const long* seeds,
int);
76 void saveStatus(
const char filename[] =
"RanshiEngine.conf")
const;
79 void restoreStatus(
const char filename[] =
"RanshiEngine.conf");
87 operator unsigned int();
89 virtual std::ostream &
put (std::ostream & os)
const;
90 virtual std::istream &
get (std::istream & is);
92 virtual std::istream &
getState ( std::istream & is );
94 std::string
name()
const;
97 std::vector<unsigned long>
put ()
const;
98 bool get (
const std::vector<unsigned long> &
v);
99 bool getState (
const std::vector<unsigned long> &
v);
114 #endif // HepRanshiEngine_h void restoreStatus(const char filename[]="RanshiEngine.conf")
static const unsigned int VECTOR_STATE_SIZE
void setSeeds(const long *seeds, int)
void setSeed(long seed, int)
void flatArray(const int size, double *vect)
std::vector< unsigned long > put() const
virtual std::istream & getState(std::istream &is)
unsigned int buffer[numBuff]
static std::string engineName()
static std::string beginTag()
void saveStatus(const char filename[]="RanshiEngine.conf") const