diff --git a/cpp/switchchain_ccm_timeevol.cpp b/cpp/switchchain_ccm_timeevol.cpp index 22db8bb0eea8b3bab2703031c368a214fd8109c3..e0af9f45a6d8f9e23f38fa8396cda6ba27b4f0f3 100644 --- a/cpp/switchchain_ccm_timeevol.cpp +++ b/cpp/switchchain_ccm_timeevol.cpp @@ -19,7 +19,8 @@ int main(int argc, char* argv[]) { //float tauValues[] = {2.1f, 2.2f, 2.3f, 2.4f, 2.5f, 2.6f, 2.7f, 2.8f, 2.9f}; float tauValues[] = {2.1f, 2.3f, 2.5f, 2.7f, 2.9f}; - const int totalDegreeSamples = 10; + //const int totalDegreeSamples = 10; + const int totalDegreeSamples = 1; auto getMixingTime = [](int n, float tau) { return int(1.0f * (50.0f - 10.0f * (tau - 2.0f)) * n); @@ -41,8 +42,8 @@ int main(int argc, char* argv[]) { outfile << "n from " << numVerticesMin << " to " << numVerticesMax << " step " << numVerticesStep << std::endl; outfile << "tauValues: " << tauValues << std::endl; - outfile << "degreeSamples: " << totalDegreeSamples << std::endl; - //outfile << "canonical ds" << std::endl; + //outfile << "degreeSamples: " << totalDegreeSamples << std::endl; + outfile << "canonical ds" << std::endl; outfile << "mixingTime: 0.5 * (50 - 10 (tau - 2)) n\n"; outfile << "measurements: full time evol\n"; outfile << "data:\n"; @@ -123,7 +124,7 @@ int main(int argc, char* argv[]) { outfile << '}'; #endif bool failed = true; - for (int i = 0; i < 50; ++i) { + for (int i = 0; i < 1000; ++i) { Graph gtemp; if (constrainedConfigurationModel(ds, gtemp, rng, ccmMethod)) { @@ -138,7 +139,7 @@ int main(int argc, char* argv[]) { } } if (failed) - outfile << ",{50,{}}"; + outfile << ",{1000,{}}"; } outfile << '}' << std::flush;