about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_mod_edges
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/run_scripts/run_mod_edges')
-rw-r--r--sourcecodes/run_scripts/run_mod_edges19
1 files changed, 14 insertions, 5 deletions
diff --git a/sourcecodes/run_scripts/run_mod_edges b/sourcecodes/run_scripts/run_mod_edges
index 30176e9c..a8376351 100644
--- a/sourcecodes/run_scripts/run_mod_edges
+++ b/sourcecodes/run_scripts/run_mod_edges
@@ -1,9 +1,6 @@
 #!/usr/bin/octave -qf
-cd ./data
-arg_list = argv(); 
-addpath("../bnt-master");
-addpath(genpathKPM("../bnt-master"));
-addpath("../parameter_learning");
+source("./run_scripts/path_cd.m")
+arg_list = argv();
 modifyEdges(arg_list{1},arg_list{2});
 
 fname1=strcat(arg_list{1},"continuous_input.txt");
@@ -22,3 +19,15 @@ fname1=strcat(arg_list{1},"name.txt");
 fname2=strcat(arg_list{2},"name.txt");
 copyfile(fname1,fname2);
 
+fname1=strcat(arg_list{1},"type.txt");
+fname2=strcat(arg_list{2},"type.txt");
+copyfile(fname1,fname2);
+
+fname1=strcat(arg_list{1},"nlevels.txt");
+fname2=strcat(arg_list{2},"nlevels.txt");
+copyfile(fname1,fname2);
+
+fname1=strcat(arg_list{1},"input_table.txt");
+fname2=strcat(arg_list{2},"input_table.txt");
+copyfile(fname1,fname2);
+