Commits

Anonymous committed e71cbca

added shell command for running everything.

  • Participants
  • Parent commits d529aac

Comments (0)

Files changed (1)

 #!/usr/bin/env python3
 
-"""very simple gnutella path folding simulator."""
+"""very simple gnutella path folding simulator.
+
+For a full check, run 
+
+for size in 100 1000 10000 ; do for conn in 10 20 30 40 ; do for htl in 10 20 40 80 ; do for strategy in switch switchalways switchonesided jump  jumphalf jumpgolden jumpgoldensmall connect connectsimple replacebest replacelongest; do echo ===== $size nodes $conn conn $htl htl $strategy ===== ; python3 sim.py --size $size --connections $conn --perstep 600 --strategy $strategy -o $size-$conn-$strategy-htl-$htl.png; done; done; done; done
+"""
 
 from random import random, choice, randint, shuffle
 import numpy as np