diff options
| author | ziejd2 | 2019-06-27 13:58:58 -0500 |
|---|---|---|
| committer | ziejd2 | 2019-06-27 13:58:58 -0500 |
| commit | 5310fa747a6a46a0e96dc649cbca863e2c44aeb4 (patch) | |
| tree | 3d4ba8a8a8a6f50b4877d1153e0fb390bbf86564 /sourcecodes/run_scripts/run_octave~ | |
| parent | 2be4664d4ef668feee3d1e8972c7fd0813aea7e8 (diff) | |
| download | BNW-5310fa747a6a46a0e96dc649cbca863e2c44aeb4.tar.gz | |
Version 1.22
Adding new visualization options
Diffstat (limited to 'sourcecodes/run_scripts/run_octave~')
| -rw-r--r-- | sourcecodes/run_scripts/run_octave~ | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/sourcecodes/run_scripts/run_octave~ b/sourcecodes/run_scripts/run_octave~ new file mode 100644 index 00000000..5a83f277 --- /dev/null +++ b/sourcecodes/run_scripts/run_octave~ @@ -0,0 +1,14 @@ +#!/usr/bin/octave -qf +cd ./data +arg_list = argv(); +addpath("../bnt-master"); +addpath(genpathKPM("../bnt-master")); +addpath("../parameter_learning"); +runBN_initial(arg_list{1}); +createSVG(arg_list{1}); +output = strcat(arg_list{1},"network.svg"); +command = cstrcat("/usr/bin/dot -Tsvg -o",output," ",arg_list{1},"graphviz_svg.txt > ",output); +system(command); +output2 = strcat(arg_list{1},"network_no_edge.svg"); +command2 = cstrcat("/usr/bin/dot -Tsvg -o",output2," ",arg_list{1},"graphviz_svg_no_edge.txt > ",output2); +system(command2); |
