Commit 9296298d authored by Benoit Barbot's avatar Benoit Barbot

progress

parent d4a18740
Pipeline #1011 failed with stages
in 3 minutes and 11 seconds
......@@ -198,13 +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;
}
string timeGen::string_of_dist(DistributionType d,const array<double,PARAM_TBL_SIZE> &param, const CustomDistr &cd)const{
......@@ -402,7 +405,6 @@ double timeGen::GenerateTime(DistributionType distribution,size_t trid, const ar
std::uniform_real_distribution<> unif(0.0, 1.0);
gentime = unif(RandomNumber);
}
//cerr << gentime << endl;
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