Commit 1ecdafdd authored by Benoit Barbot's avatar Benoit Barbot

prog

parents 0b809a0f 9296298d
Pipeline #1034 failed with stages
in 2 minutes and 32 seconds
......@@ -198,14 +198,16 @@ void KroneckerState::newTrajectory(){
}
double timeGen::sampleQuasiRandom(size_t){
//return vanDerCorputSampler.sample();
return kroneckerSampler.sample();
double gentime = vanDerCorputSampler.sample();
//double gentime = kroneckerSampler.sample();
//cerr << gentime << "\t";
return gentime;
}
void timeGen::reset(){
vanDerCorputSampler.newTrajectory();
kroneckerSampler.newTrajectory();
cerr << endl;
//cerr << endl;
}
string timeGen::string_of_dist(DistributionType d,const array<double,PARAM_TBL_SIZE> &param, const CustomDistr &cd)const{
......@@ -403,7 +405,10 @@ double timeGen::GenerateTime(DistributionType distribution,size_t trid, const ar
std::uniform_real_distribution<> unif(0.0, 1.0);
gentime = unif(RandomNumber);
}
<<<<<<< HEAD
cerr << gentime << "\t";
=======
>>>>>>> 9296298d29cd69f7fc5f960a5a44ec431a77ebc3
double lower = cd.userDefineLowerBound(param);
double upper = cd.userDefineUpperBound(param);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment