Browse Source

Renaming and plolishing

Josep Argelich 2 months ago
parent
commit
0c5d4702ae

+ 0
- 23
data/2024-Algorithms/src/gen-rUDebG.sh View File

@@ -1,23 +0,0 @@
1
-#!/bin/bash
2
-
3
-export LC_NUMERIC="en_US.UTF-8" #For the alpha decimal dot
4
-
5
-INIT_ALPHA=0.1
6
-STEP_ALPHA=0.3
7
-FINAL_ALPHA=1
8
-
9
-INIT_NODES=20
10
-STEP_NODES=10
11
-FINAL_NODES=50
12
-
13
-NUM_INSTANCES=50
14
-
15
-for ALPHA in `seq $INIT_ALPHA $STEP_ALPHA $FINAL_ALPHA`; do
16
-    for NODES in `seq $INIT_NODES $STEP_NODES $FINAL_NODES`; do
17
-        for i in `seq $NUM_INSTANCES`; do
18
-            ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,3.0 -s $i -so;
19
-        done
20
-        mkdir dataset-rUDebG-$NODES-$ALPHA;
21
-        mv rnd-UDebG-* dataset-rUDebG-$NODES-$ALPHA;
22
-    done
23
-done

data/2024-Algorithms/src/gen-rUDebG_around01.sh → data/2024-Algorithms/src/gen-rUDebG_Fig1-1.sh View File

@@ -15,9 +15,9 @@ NUM_INSTANCES=50
15 15
 for ALPHA in `seq $INIT_ALPHA $STEP_ALPHA $FINAL_ALPHA`; do
16 16
     for NODES in `seq $INIT_NODES $STEP_NODES $FINAL_NODES`; do
17 17
         for i in `seq $NUM_INSTANCES`; do
18
-            ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,3.0 -s $i -so;
18
+            ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,1.0 -s $i -so;
19 19
         done
20
-        mkdir dataset-rUDebG-$NODES-$ALPHA;
20
+        mkdir fig1dataset-rUDebG-$NODES-$ALPHA;
21 21
         mv rnd-UDebG-* dataset-rUDebG-$NODES-$ALPHA;
22 22
     done
23 23
 done

data/2024-Algorithms/src/gen-rUDebG_around04.sh → data/2024-Algorithms/src/gen-rUDebG_Fig1-2.sh View File

@@ -4,20 +4,20 @@ export LC_NUMERIC="en_US.UTF-8" #For the alpha decimal dot
4 4
 
5 5
 INIT_ALPHA=0.4
6 6
 STEP_ALPHA=0.3
7
-FINAL_ALPHA=1
7
+FINAL_ALPHA=1.0
8 8
 
9
-INIT_NODES=40
9
+INIT_NODES=25
10 10
 STEP_NODES=5
11
-FINAL_NODES=60
11
+FINAL_NODES=40
12 12
 
13 13
 NUM_INSTANCES=50
14 14
 
15 15
 for ALPHA in `seq $INIT_ALPHA $STEP_ALPHA $FINAL_ALPHA`; do
16 16
     for NODES in `seq $INIT_NODES $STEP_NODES $FINAL_NODES`; do
17 17
         for i in `seq $NUM_INSTANCES`; do
18
-            ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,3.0 -s $i -so;
18
+            ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,1.0 -s $i -so;
19 19
         done
20
-        mkdir dataset-rUDebG-$NODES-$ALPHA;
20
+        mkdir fig1dataset-rUDebG-$NODES-$ALPHA;
21 21
         mv rnd-UDebG-* dataset-rUDebG-$NODES-$ALPHA;
22 22
     done
23 23
 done

data/2024-Algorithms/src/gen-rUDebG_around04_m65_m90.sh → data/2024-Algorithms/src/gen-rUDebG_Fig3.sh View File

@@ -6,7 +6,7 @@ INIT_ALPHA=0.4
6 6
 STEP_ALPHA=0.3
7 7
 FINAL_ALPHA=1
8 8
 
9
-INIT_NODES=65
9
+INIT_NODES=40
10 10
 STEP_NODES=5
11 11
 FINAL_NODES=90
12 12
 
@@ -17,7 +17,7 @@ for ALPHA in `seq $INIT_ALPHA $STEP_ALPHA $FINAL_ALPHA`; do
17 17
         for i in `seq $NUM_INSTANCES`; do
18 18
             ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,3.0 -s $i -so;
19 19
         done
20
-        mkdir dataset-rUDebG-$NODES-$ALPHA;
20
+        mkdir fig3dataset-rUDebG-$NODES-$ALPHA;
21 21
         mv rnd-UDebG-* dataset-rUDebG-$NODES-$ALPHA;
22 22
     done
23 23
 done

+ 0
- 23
data/2024-Algorithms/src/gen-rUDebG_around05.sh View File

@@ -1,23 +0,0 @@
1
-#!/bin/bash
2
-
3
-export LC_NUMERIC="en_US.UTF-8" #For the alpha decimal dot
4
-
5
-INIT_ALPHA=0.5
6
-STEP_ALPHA=0.1
7
-FINAL_ALPHA=0.6
8
-
9
-INIT_NODES=40
10
-STEP_NODES=5
11
-FINAL_NODES=90
12
-
13
-NUM_INSTANCES=50
14
-
15
-for ALPHA in `seq $INIT_ALPHA $STEP_ALPHA $FINAL_ALPHA`; do
16
-    for NODES in `seq $INIT_NODES $STEP_NODES $FINAL_NODES`; do
17
-        for i in `seq $NUM_INSTANCES`; do
18
-            ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,3.0 -s $i -so;
19
-        done
20
-        mkdir dataset-rUDebG-$NODES-$ALPHA;
21
-        mv rnd-UDebG-* dataset-rUDebG-$NODES-$ALPHA;
22
-    done
23
-done

+ 0
- 23
data/2024-Algorithms/src/gen-rUDebG_around08.sh View File

@@ -1,23 +0,0 @@
1
-#!/bin/bash
2
-
3
-export LC_NUMERIC="en_US.UTF-8" #For the alpha decimal dot
4
-
5
-INIT_ALPHA=0.8
6
-STEP_ALPHA=0.1
7
-FINAL_ALPHA=0.9
8
-
9
-INIT_NODES=40
10
-STEP_NODES=5
11
-FINAL_NODES=90
12
-
13
-NUM_INSTANCES=50
14
-
15
-for ALPHA in `seq $INIT_ALPHA $STEP_ALPHA $FINAL_ALPHA`; do
16
-    for NODES in `seq $INIT_NODES $STEP_NODES $FINAL_NODES`; do
17
-        for i in `seq $NUM_INSTANCES`; do
18
-            ./reddit_at.py -a $ALPHA -lb 10 -al g211 -p $NODES,0,3.0 -s $i -so;
19
-        done
20
-        mkdir dataset-rUDebG-$NODES-$ALPHA;
21
-        mv rnd-UDebG-* dataset-rUDebG-$NODES-$ALPHA;
22
-    done
23
-done

+ 5
- 0
data/2024-Algorithms/src/requirements.txt View File

@@ -0,0 +1,5 @@
1
+networkx==3.0
2
+numpy==1.22.4
3
+pandas==1.4.2
4
+psutil==5.9.0
5
+scipy==1.14.1

Powered by TurnKey Linux.