Skip to content
Browse files

update parameters

  • Loading branch information...
1 parent 00f4a76 commit e09fe12d5010e25064fe513983f8996e8aa0d4ec @kris-samala committed
Showing with 3 additions and 2 deletions.
  1. +1 −1 run_simulation.sh
  2. +2 −1 sim.py
View
2 run_simulation.sh
@@ -3,7 +3,7 @@
count=1
for p in `seq 0.01 .01 .4`; do
for t in `seq 1 1 10`; do
- ./runCmd -c "python sim.py 100000000 $p out/contact_dist.out citydata/states.p citydata/census.p out/trans_prob.csv out/city_list.p results/matrix$count-$t" -e err/out$count-$t.err --nowait
+ ./runCmd -c "python sim.py 1000000 $p out/contact_dist.out citydata/states.p citydata/census.p out/trans_prob.csv out/city_list.p results/matrix$count-$t" -e err/out$count-$t.err --nowait
done
let count+=1
done
View
3 sim.py
@@ -88,8 +88,9 @@ def gen_latent(city, l):
return l
def init_city(city, l):
- frac = .00001
+ frac = .0001
num = int(frac * population[city])
+ print num
for i in range(num):
l.update(gen_latent(city, l))

0 comments on commit e09fe12

Please sign in to comment.
Something went wrong with that request. Please try again.