Browse Source

cmd lines for clusters

Florian 4 years ago
parent
commit
c3d2fa9ca0
2 changed files with 6 additions and 1 deletions
  1. 5 0
      cmd.txt
  2. 1 1
      plan_gen/plan_visualizer.py

+ 5 - 0
cmd.txt

@@ -0,0 +1,5 @@
+# 4 WORK
+plan_gen_cli.py nw=input/network.xml,nc=100,np=5000,hcsv=input/vote_places.csv,wc="45:30|70:45|28:74|56:80",wr="5|5|5|5",ww="2|1|2|1" > out.xml
+
+# 4 HOME
+plan_gen_cli.py nw=input/network.xml,nc=100,np=20000,wc="50:50",wr="20",ww="1",hc="75:30|65:45|45:27|38:44|50:62|53:75|21:74",hr="10|15|15|15|10|10|10",hw="1|1|1|1|1|1|1" > out.xml

+ 1 - 1
plan_gen/plan_visualizer.py

@@ -43,7 +43,7 @@ if __name__ == '__main__':
     PERSONS_X = [float(coord.split('|')[0]) for coord in P_XY_UNIQUE]
     PERSONS_Y = [float(coord.split('|')[1]) for coord in P_XY_UNIQUE]
     SC = AX.scatter(PERSONS_X, PERSONS_Y,
-                     alpha=0.75, s=P_XY_COUNTS*5,
+                     alpha=0.75, s=P_XY_COUNTS*10,
                      c=P_XY_COUNTS, cmap='rainbow')
 
     # plot map