Browse Source

use HTTPS

Román Cárdenas 2 years ago
parent
commit
8caf5aaf48
2 changed files with 18 additions and 1 deletions
  1. 1 1
      .gitmodules
  2. 17 0
      annsim2024.py

+ 1 - 1
.gitmodules

@@ -24,4 +24,4 @@
 	url = https://msdl.uantwerpen.be/git/yentl/PythonPDEVS.git
 [submodule "simulators/xdevs.rs-new"]
 	path = simulators/xdevs.rs-new
-	url = git@github.com:iscar-ucm/xdevs.rs.git
+	url = https://github.com/iscar-ucm/xdevs.rs.git

+ 17 - 0
annsim2024.py

@@ -0,0 +1,17 @@
+import subprocess
+
+
+if __name__ == '__main__':
+    a = "xdevs-rs"
+    models = [['LI', 'HI', 'HO'], ['HOmod']]
+    sizes = [list(range(20, 401, 20)), list(range(5, 51, 5))]
+    for i, models in enumerate(models):
+        for m in models:
+            p = []
+            p.extend([f'{m}-{w}-{d}-0-0' for w in sizes[i] for d in sizes[i]])
+            p = ','.join(p)
+            n = 30
+            o = f"results_{m}.csv"
+
+            cmd = f"python3 devstone_comparative.py -a {a} -p {p} -n {n} -o {o}"
+            subprocess.run(cmd.split())