diff options
| author | ziejd2 | 2017-09-28 15:04:40 -0500 |
|---|---|---|
| committer | ziejd2 | 2017-09-28 15:04:40 -0500 |
| commit | 8070dc963753142bb86c4ed698d91fd623ed28e7 (patch) | |
| tree | d0f6dd8fc46a49b819aa55c1a90faa14d8448883 /sourcecodes/add_evd.php | |
| parent | 7cc31810d53176e805532b2789955f4eedbce6bb (diff) | |
| download | BNW-8070dc963753142bb86c4ed698d91fd623ed28e7.tar.gz | |
BNW using Octave instead of Matlab.
This version of BNW should perform the same as the original version. The only difference is that it uses Octave instead of Matlab when running BayesNet Toolbox during parameter learning. I am calling this BNW_1.02. It can be accessed at: compbio.uthsc.edu/BNW_1.02
Diffstat (limited to 'sourcecodes/add_evd.php')
| -rw-r--r-- | sourcecodes/add_evd.php | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/sourcecodes/add_evd.php b/sourcecodes/add_evd.php index 5c55f8b9..cba58632 100644 --- a/sourcecodes/add_evd.php +++ b/sourcecodes/add_evd.php @@ -188,15 +188,15 @@ else } - $file1="./data/".$keyval."run_evidencemodified.sh"; - $initiallines=file_get_contents("./data/temp_evidence_file"); - $all_lines="$initiallines"."$keyval\nfi\nexit"; +// $file1="./data/".$keyval."run_evidencemodified.sh"; +// $initiallines=file_get_contents("./data/temp_evidence_file"); +// $all_lines="$initiallines"."$keyval\nfi\nexit"; - $fp = fopen($file1,"w"); - fwrite($fp, "$all_lines\n"); - fclose($fp); +// $fp = fopen($file1,"w"); +// fwrite($fp, "$all_lines\n"); +// fclose($fp); //execute shell script for matlab - shell_exec('./runmat_evd.sh '.$keyval); + shell_exec('./run_octave_evd '.$keyval); ?> <script> |
