Chore: changed name of synthetic data folders, and include their
symlinks
This commit is contained in:
parent
39b3570e11
commit
46476ab2b4
|
@ -1,2 +0,0 @@
|
|||
100*
|
||||
make_scale_free_graph
|
|
@ -0,0 +1 @@
|
|||
100*
|
|
@ -2,23 +2,22 @@
|
|||
|
||||
# Define the parameters
|
||||
num_node_range=(100 1000 10000)
|
||||
edge_multiplier_range=(2 3 5 10 20)
|
||||
degree_range=(2 3 5 10 20)
|
||||
copies=20
|
||||
seed=41
|
||||
|
||||
max_jobs=2
|
||||
max_jobs=4
|
||||
running_jobs=0
|
||||
|
||||
# Loop through different parameters
|
||||
for num_node in "${num_node_range[@]}"; do
|
||||
for edge_multiplier in "${edge_multiplier_range[@]}"; do
|
||||
num_edge=$((num_node * edge_multiplier))
|
||||
output_folder="${num_node}n${num_edge}e"
|
||||
for num_degree in "${degree_range[@]}"; do
|
||||
output_folder="${num_node}n${num_degree}d"
|
||||
mkdir -p $output_folder
|
||||
|
||||
# Run the program with the parameters
|
||||
echo "run with $num_node nodes and $num_edge edges output to $output_folder"
|
||||
./make_regular_graph $num_node $num_edge $copies $seed $output_folder &
|
||||
echo "run with $num_node nodes and $num_degree degree output to $output_folder"
|
||||
./make_regular_graph $num_node $num_degree $copies $seed $output_folder &
|
||||
|
||||
((running_jobs++))
|
||||
|
|
@ -0,0 +1 @@
|
|||
../../make_graphs/bin/make_regular_graph
|
|
@ -1,2 +0,0 @@
|
|||
100*
|
||||
make_regular_graph
|
|
@ -0,0 +1 @@
|
|||
100*
|
|
@ -2,23 +2,22 @@
|
|||
|
||||
# Define the parameters
|
||||
num_node_range=(100 1000 10000)
|
||||
edge_multiplier_range=(2 3 5 10 20)
|
||||
degree_range=(2 3 5 10 20)
|
||||
copies=20
|
||||
seed=41
|
||||
|
||||
max_jobs=2
|
||||
max_jobs=4
|
||||
running_jobs=0
|
||||
|
||||
# Loop through different parameters
|
||||
for num_node in "${num_node_range[@]}"; do
|
||||
for edge_multiplier in "${edge_multiplier_range[@]}"; do
|
||||
num_edge=$((num_node * edge_multiplier))
|
||||
output_folder="${num_node}n${num_edge}e"
|
||||
for num_degree in "${degree_range[@]}"; do
|
||||
output_folder="${num_node}n${num_degree}d"
|
||||
mkdir -p $output_folder
|
||||
|
||||
# Run the program with the parameters
|
||||
echo "run with $num_node nodes and $num_edge edges output to $output_folder"
|
||||
./make_scale_free_graph $num_node $num_edge $copies $seed $output_folder &
|
||||
echo "run with $num_node nodes and $num_degree degree output to $output_folder"
|
||||
./make_scale_free_graph $num_node $num_degree $copies $seed $output_folder &
|
||||
|
||||
((running_jobs++))
|
||||
|
|
@ -0,0 +1 @@
|
|||
../../make_graphs/bin/make_scale_free_graph
|
Loading…
Reference in New Issue