Changeset - 786c1ab9a61e
[Not reviewed]
0 1 3
Tom Bannink - 8 years ago 2017-07-11 09:53:25
tom.bannink@cwi.nl
Add partial simulation datasets
2 files changed:
0 comments (0 inline, 0 general)
cpp/switchchain_canonical_properties.cpp
Show inline comments
 
@@ -45,7 +45,7 @@ int main(int argc, char* argv[]) {
 
    const int numVerticesMax = 10000;
 
    const int numVerticesStep = 1000;
 

	
 
    float tauValues[] = {2.1f, 2.2f, 2.3f, 2.4f, 2.5f, 2.6f, 2.7f, 2.8f, 2.9f};
 
    float tauValues[] = {2.05f, 2.1f, 2.2f, 2.3f, 2.4f, 2.5f, 2.6f, 2.7f, 2.8f, 2.9f, 2.95f};
 

	
 
    //const int totalDegreeSamples = 5000;
 

	
 
@@ -55,11 +55,11 @@ int main(int argc, char* argv[]) {
 
    auto getMeasurements = [](int n, float tau) {
 
        (void)n;
 
        (void)tau;
 
        return 500;
 
        return 1000;
 
    };
 
    auto getMeasureSkip = [](int n, float tau) {
 
        (void)tau;
 
        return 20 * n; // Take a sample every ... steps
 
        return 30 * n; // Take a sample every ... steps
 
    };
 

	
 
    // Output file
 
@@ -80,8 +80,8 @@ int main(int argc, char* argv[]) {
 
    outfile << "tauValues: " << tauValues << std::endl;
 
    outfile << "Canonical degree sequence.\n";
 
    outfile << "mixingTime: 50 * (50 - 5 (tau - 2)) n\n";
 
    outfile << "measurements: 500\n";
 
    outfile << "measureSkip: 20 n\n";
 
    outfile << "measurements: 1000\n";
 
    outfile << "measureSkip: 30 n\n";
 
    outfile << "data:\n";
 
    outfile << "1: {n,tau}\n";
 
    outfile << "2: avgTriangles\n";
data/graphdata_canonical_properties3.m
Show inline comments
 
new file 100644
 
(*
 
n from 1000 to 10000 step 1000
 
tauValues: {2.05,2.1,2.2,2.3,2.4,2.5,2.6,2.7,2.8,2.9,2.95}
 
Canonical degree sequence.
 
mixingTime: 50 * (50 - 5 (tau - 2)) n
 
measurements: 1000
 
measureSkip: 30 n
 
data:
 
1: {n,tau}
 
2: avgTriangles
 
3: edges
 
4: dstn
 
5: empty
 
6: switching successrate after mixing
 
7: initial HH triangles
 
*)
 
{{{1000,2.050000},7003.365234,3132,2625.084162,{},0.255114,13655},
 
{{1000,2.100000},3937.030029,2702,1909.002542,{},0.430285,10611},
 
{{1000,2.200000},1389.868042,2120,965.105599,{},0.676611,6718},
 
{{1000,2.300000},533.497009,1760,477.559122,{},0.816584,4137},
 
{{1000,2.400000},220.768997,1521,237.214498,{},0.893751,2868},
 
{{1000,2.500000},95.078003,1352,119.740699,{},0.936593,2198},
 
{{1000,2.600000},43.768002,1227,62.648837,{},0.960979,1138},
 
{{1000,2.700000},21.349001,1131,34.946920,{},0.974704,762},
 
{{1000,2.800000},10.952000,1056,20.691035,{},0.982994,762},
 
{{1000,2.900000},5.957000,995,12.996577,{},0.988163,567},
 
{{1000,2.950000},4.695000,969,10.715392,{},0.989828,502},
 
{{2000,2.050000},18997.244141,6742,7007.830519,{},0.266682,39552},
 
{{2000,2.100000},10095.294922,5738,4928.613586,{},0.451365,29937},
 
{{2000,2.200000},3306.198975,4426,2338.627667,{},0.702649,18195},
 
{{2000,2.300000},1181.031982,3634,1075.881226,{},0.840147,11595},
 
{{2000,2.400000},455.691986,3117,493.100917,{},0.912442,6326},
 
{{2000,2.500000},181.981995,2754,227.015942,{},0.950968,4860},
 
{{2000,2.600000},77.165001,2490,109.335750,{},0.971252,2988},
 
{{2000,2.700000},35.314999,2289,55.369715,{},0.982547,1903},
 
{{2000,2.800000},17.065001,2131,30.137451,{},0.988855,1870},
 
{{2000,2.900000},8.989000,2006,18.039160,{},0.992401,1184},
 
{{2000,2.950000},6.677000,1952,14.226541,{},0.993714,1311},
 
{{3000,2.050000},33799.738281,10518,12364.337116,{},0.273409,72899},
 
{{3000,2.100000},17461.435547,8889,8554.015301,{},0.462815,54312},
 
{{3000,2.200000},5456.005859,6790,3906.442980,{},0.716550,31922},
 
{{3000,2.300000},1876.793945,5539,1721.274934,{},0.852430,19295},
 
{{3000,2.400000},686.867981,4729,750.256130,{},0.922069,11873},
 
{{3000,2.500000},263.510010,4168,329.159810,{},0.957826,7503},
 
{{3000,2.600000},108.435997,3761,150.448326,{},0.976086,4994},
 
{{3000,2.700000},47.598000,3453,72.816769,{},0.985801,3306},
 
{{3000,2.800000},21.620001,3212,37.820628,{},0.991207,2836},
 
{{3000,2.900000},11.000000,3020,21.492990,{},0.994229,2507},
 
{{3000,2.950000},8.433000,2938,16.932536,{},0.995182,2095},
 
{{4000,2.050000},50759.667969,14402,18463.977499,{},0.277967,112093},
 
{{4000,2.100000},25649.310547,12109,12608.579365,{},0.471139,83247},
 
{{4000,2.200000},7760.326172,9186,5604.951018,{},0.726746,48088},
 
{{4000,2.300000},2590.111084,7462,2394.223038,{},0.860980,27467},
 
{{4000,2.400000},916.606995,6353,1008.084985,{},0.928383,17627},
 
{{4000,2.500000},341.457001,5588,426.916283,{},0.962152,11013},
 
{{4000,2.600000},135.526001,5036,187.910666,{},0.979070,6819},
 
{{4000,2.700000},57.918999,4619,87.573698,{},0.987880,6162},
 
{{4000,2.800000},26.216999,4293,44.094961,{},0.992616,3946},
 
{{4000,2.900000},12.887000,4035,24.467946,{},0.995216,2822},
 
{{4000,2.950000},9.152000,3925,18.747422,{},0.996092,2803},
 
{{5000,2.050000},69611.468750,18367,25208.926799,{},0.281595,157296},
 
{{5000,2.100000},34541.304688,15379,17027.311209,{},0.477095,115667},
 
{{5000,2.200000},10190.375977,11608,7418.679638,{},0.733930,64788},
 
{{5000,2.300000},3330.487061,9399,3094.307125,{},0.867189,38222},
 
{{5000,2.400000},1145.557983,7981,1265.258732,{},0.932986,22995},
 
{{5000,2.500000},418.213013,7011,521.640501,{},0.965231,13977},
 
{{5000,2.600000},163.794006,6314,222.779635,{},0.981159,10065},
 
{{5000,2.700000},67.370003,5788,101.559223,{},0.989213,7592},
 
{{5000,2.800000},30.208000,5379,49.933139,{},0.993516,5841},
 
{{5000,2.900000},14.134000,5052,26.702686,{},0.995919,4198},
 
{{5000,2.950000},10.036000,4913,20.404486,{},0.996661,3196},
 
{{6000,2.050000},89980.187500,22393,32464.489223,{},0.284698,206352},
 
{{6000,2.100000},44100.062500,18695,21775.430020,{},0.482311,151034},
 
{{6000,2.200000},12732.444336,14046,9304.518682,{},0.740023,83595},
 
{{6000,2.300000},4059.164062,11341,3799.599438,{},0.872125,50315},
 
{{6000,2.400000},1375.614014,9617,1523.479648,{},0.936437,29756},
 
{{6000,2.500000},491.170013,8440,613.764349,{},0.967587,18495},
 
{{6000,2.600000},186.033997,7592,255.551431,{},0.982727,12711},
 
{{6000,2.700000},75.801003,6958,114.038661,{},0.990248,8468},
 
{{6000,2.800000},32.950001,6463,54.796217,{},0.994218,5990},
 
{{6000,2.900000},15.745000,6071,29.124137,{},0.996359,4282},
 
{{6000,2.950000},11.001000,5902,21.948001,{},0.997052,3758},
 
{{7000,2.050000},111778.812500,26470,40207.219355,{},0.287009,260270},
 
{{7000,2.100000},54110.222656,22040,26774.216552,{},0.486486,189649},
 
{{7000,2.200000},15360.028320,16502,11283.939164,{},0.744948,102788},
 
{{7000,2.300000},4824.795898,13292,4524.977074,{},0.876159,61500},
 
{{7000,2.400000},1611.128052,11259,1784.770941,{},0.939276,36714},
 
{{7000,2.500000},565.336975,9872,705.029604,{},0.969436,21816},
 
{{7000,2.600000},211.406006,8875,288.260048,{},0.983913,14286},
 
{{7000,2.700000},84.022003,8128,125.376354,{},0.991069,10215},
 
{{7000,2.800000},36.207001,7547,59.120806,{},0.994775,6735},
 
{{7000,2.900000},16.738001,7086,30.667648,{},0.996762,5140},
 
{{7000,2.950000},11.774000,6888,22.919717,{},0.997391,3932},
 
{{8000,2.050000},134668.484375,30588,48348.952985,{},0.289268,317990},
 
{{8000,2.100000},64661.664062,25412,32028.683443,{},0.490191,230934},
 
{{8000,2.200000},18054.929688,18966,13307.944183,{},0.749334,124793},
 
{{8000,2.300000},5591.900879,15254,5274.683255,{},0.879424,74444},
 
{{8000,2.400000},1839.630005,12902,2040.791100,{},0.941655,42758},
 
{{8000,2.500000},637.275024,11303,791.872547,{},0.971011,26481},
 
{{8000,2.600000},233.264008,10158,318.525711,{},0.984906,18133},
 
{{8000,2.700000},91.917999,9298,135.855473,{},0.991728,11819},
 
{{8000,2.800000},38.519001,8633,63.223250,{},0.995193,9472},
 
{{8000,2.900000},17.843000,8105,32.582265,{},0.997036,6523},
 
{{8000,2.950000},12.523000,7880,24.195976,{},0.997624,5062},
 
{{9000,2.050000},158975.937500,34750,56929.870285,{},0.291191,378987},
 
{{9000,2.100000},75561.757812,28811,37512.931936,{},0.493276,272659},
 
{{9000,2.200000},20837.861328,21446,15418.108991,{},0.752798,149087},
 
{{9000,2.300000},6353.109863,17215,6018.658658,{},0.882408,85473},
 
{{9000,2.400000},2056.114014,14545,2297.085264,{},0.943670,50395},
 
{{9000,2.500000},705.664001,12737,879.558057,{},0.972286,30776},
 
{{9000,2.600000},254.296997,11442,347.996976,{},0.985727,19045},
 
{{9000,2.700000},99.412003,10470,146.551128,{},0.992235,14602},
 
{{9000,2.800000},41.436001,9721,67.219931,{},0.995541,10072},
 
{{9000,2.900000},19.231001,9124,34.338849,{},0.997250,8295},
 
{{9000,2.950000},13.422000,8869,25.331607,{},0.997801,4803},
 
{{10000,2.050000},184269.640625,38944,65875.688926,{},0.292914,443022},
 
{{10000,2.100000},86911.312500,32227,43182.906580,{},0.496198,317173},
 
{{10000,2.200000},23667.492188,23931,17560.699970,{},0.756104,170831},
 
{{10000,2.300000},7151.662109,19188,6787.558771,{},0.884897,95979},
 
{{10000,2.400000},2294.871094,16196,2556.177526,{},0.945414,58489},
 
{{10000,2.500000},772.374023,14172,964.595686,{},0.973427,34943},
 
{{10000,2.600000},277.806000,12726,376.598800,{},0.986429,21488},
 
{{10000,2.700000},106.680000,11645,156.372699,{},0.992699,14324},
 
{{10000,2.800000},44.485001,10809,71.260206,{},0.995803,10643},
 
{{10000,2.900000},20.226999,10143,35.606187,{},0.997458,6944},
 
{{10000,2.950000},13.783000,9859,26.144862,{},0.997979,7045}}
 
\ No newline at end of file

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

0 comments (0 inline, 0 general)