Changeset - aa3c06c73a6f
[Not reviewed]
0 1 1
Tom Bannink - 8 years ago 2017-06-26 17:12:53
tom.bannink@cwi.nl
Add properties dataset with more samples
1 file changed:
Changeset was too big and was cut off... Show full diff anyway
0 comments (0 inline, 0 general)
cpp/switchchain_properties.cpp
Show inline comments
 
@@ -47,10 +47,10 @@ 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};
 

	
 
    const int totalDegreeSamples = 2000;
 
    const int totalDegreeSamples = 5000;
 

	
 
    auto getMixingTime = [](int n, float tau) {
 
        return int(30.0f * (50.0f - 30.0f * (tau - 2.0f)) * n);
 
        return int(50.0f * (50.0f - 30.0f * (tau - 2.0f)) * n);
 
    };
 
    constexpr int measurements = 10;
 
    constexpr int measureSkip = 1000; // Take a sample every ... steps
 
@@ -72,7 +72,7 @@ int main(int argc, char* argv[]) {
 
            << " step " << numVerticesStep << std::endl;
 
    outfile << "tauValues: " << tauValues << std::endl;
 
    outfile << "degreeSamples: " << totalDegreeSamples << std::endl;
 
    outfile << "mixingTime: 30 * (50 - 30 (tau - 2)) n\n";
 
    outfile << "mixingTime: 50 * (50 - 30 (tau - 2)) n\n";
 
    outfile << "data:\n";
 
    outfile << "1: {n,tau}\n";
 
    outfile << "2: avgTriangles\n";

Changeset was too big and was cut off... Show full diff anyway

0 comments (0 inline, 0 general)