Changeset - 552662b431c8
[Not reviewed]
0 2 2
Tom Bannink - 8 years ago 2017-05-23 09:30:44
tom.bannink@cwi.nl
Add new datafiles of overnight simulation
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
 
@@ -82,7 +82,7 @@ int main() {
 
    outfile << '{';
 
    bool outputComma = false;
 

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

	
 
            DegreeSequence ds(numVertices);
 
@@ -92,7 +92,7 @@ int main() {
 
            // For a single n,tau take samples over several instances of
 
            // the degree distribution.
 
            // 500 samples seems to give reasonable results
 
            for (int degreeSample = 0; degreeSample < 1000; ++degreeSample) {
 
            for (int degreeSample = 0; degreeSample < 2000; ++degreeSample) {
 
                // Generate a graph
 
                // might require multiple tries
 
                for (int i = 1; ; ++i) {
 
@@ -125,7 +125,7 @@ int main() {
 
                std::cout << "Running n = " << numVertices << ", tau = " << tau
 
                          << ". \t" << std::flush;
 

	
 
                int mixingTime = 8*(32.0f - 26.0f*(tau - 2.0f)) * numVertices; //40000;
 
                int mixingTime = 32*(32.0f - 26.0f*(tau - 2.0f)) * numVertices; //40000;
 
                constexpr int measurements = 50;
 
                constexpr int measureSkip =
 
                    200; // Take a sample every ... steps
data/README
Show inline comments
 
@@ -3,7 +3,7 @@ Contents of each file
 
graphdata_exponent_mixN.m
 
    output: {{n,tau},avgTriangles}
 
    n from 200 to 2000 with step 200
 
    degreeSamples = 500 + 1000 for mix1 and 1000 for mix4,mix8
 
    degreeSamples = (500 + 1000) for mix1 and 1000 for mix4,mix8, 2000 for mix16
 
    initial ErdosGallai
 
    mixingTime = N * (32.0f - 26.0f*(tau - 2.0f)) * n
 
    measurements = 50
 
@@ -21,6 +21,9 @@ graphdata_initialtris.m
 
graphdata_initialtris2.m
 
    same as above but simulation was stopped during (n,tau)=(1400,2.6)
 

	
 
graphdata_initialtris3.m
 
    same as above but simulation was not stopped. n from 200 to 2000
 

	
 
graphdata_gcm_partial.m
 
    ??
 
    output: {{n,tau},triangleseq,ds, {...??...} }

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

0 comments (0 inline, 0 general)