about summary refs log tree commit diff
path: root/sourcecodes/run_scripts/run_mod_str~
diff options
context:
space:
mode:
Diffstat (limited to 'sourcecodes/run_scripts/run_mod_str~')
-rw-r--r--sourcecodes/run_scripts/run_mod_str~24
1 files changed, 24 insertions, 0 deletions
diff --git a/sourcecodes/run_scripts/run_mod_str~ b/sourcecodes/run_scripts/run_mod_str~
new file mode 100644
index 00000000..30176e9c
--- /dev/null
+++ b/sourcecodes/run_scripts/run_mod_str~
@@ -0,0 +1,24 @@
+#!/usr/bin/octave -qf
+cd ./data
+arg_list = argv(); 
+addpath("../bnt-master");
+addpath(genpathKPM("../bnt-master"));
+addpath("../parameter_learning");
+modifyEdges(arg_list{1},arg_list{2});
+
+fname1=strcat(arg_list{1},"continuous_input.txt");
+fname2=strcat(arg_list{2},"continuous_input.txt");
+copyfile(fname1,fname2);
+
+fname1=strcat(arg_list{1},"continuous_input_orig.txt");
+fname2=strcat(arg_list{2},"continuous_input_orig.txt");
+copyfile(fname1,fname2);
+
+fname1=strcat(arg_list{1},"nnode.txt");
+fname2=strcat(arg_list{2},"nnode.txt");
+copyfile(fname1,fname2);
+
+fname1=strcat(arg_list{1},"name.txt");
+fname2=strcat(arg_list{2},"name.txt");
+copyfile(fname1,fname2);
+