Changeset - 854fca81cf23
[Not reviewed]
0 2 1
Tom Bannink - 8 years ago 2017-06-02 11:49:50
tom.bannink@cwi.nl
Add data of simulation with higher mixing time
2 files changed:
Changeset was too big and was cut off... Show full diff anyway
0 comments (0 inline, 0 general)
cpp/switchchain_exponent.cpp
Show inline comments
 
@@ -78,11 +78,11 @@ int main() {
 
    Graph g1;
 
    Graph g2;
 

	
 
    std::ofstream outfile("graphdata_exponent.m");
 
    std::ofstream outfile("graphdata_exponent_hightau.m");
 
    outfile << '{';
 
    bool outputComma = false;
 

	
 
    for (int numVertices = 2200; numVertices <= 4000; numVertices += 200) {
 
    for (int numVertices = 1000; numVertices <= 10000; numVertices += 1000) {
 
        for (float tau : tauValues) {
 

	
 
            DegreeSequence ds(numVertices);
 
@@ -125,7 +125,7 @@ int main() {
 
                std::cout << "Running n = " << numVertices << ", tau = " << tau
 
                          << ". \t" << std::flush;
 

	
 
                int mixingTime = 32*(32.0f - 26.0f*(tau - 2.0f)) * numVertices; //40000;
 
                int mixingTime = 32*(32.0f - 15.0f*(tau - 2.0f)) * numVertices; //40000;
 
                constexpr int measurements = 50;
 
                constexpr int measureSkip =
 
                    200; // Take a sample every ... steps
data/README
Show inline comments
 
@@ -9,6 +9,12 @@ graphdata_exponent_mixN.m
 
    measurements = 50
 
    measureSkip = 200
 

	
 
graphdata_exponent_hightau.m
 
    same as above, but with higher mixing time for high tau values
 
    n from 1000 to 10000 with steps of 1000
 
    degreeSamples = 2000
 
    mixingTime = 32 * (32.0f - 15.0f*(tau - 2.0f)) * n //note the -15 instead of -26
 

	
 
graphdata_initialtris.m
 
    output: {{n,tau},avgTriangles,{gcm1TrisSum,gcm1TrisCount},{gcm1TrisSum,gcm1TrisCount}}
 
    simulation was stopped halfway through. Was halfway n=1000

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

0 comments (0 inline, 0 general)