Implementation of Bayesian Networks in Java.
The report can be found in doc/report.pdf
.
Running the project (without extension, without tests etc.):
javac *.java
java A3Main <Pn> <NID> [<order-algo>]
Running the extension (expert system), use:
# from the project root (the directory containing `src`)
make compile
make serve
To run the unit tests and the evaluation, please refer to the commands provided in the Makefile (see below).
+ doc: Report, test coverage, etc.
+ evaluation: Evaluation scripts
+ expertsystem: Expert system server files
+ lib: Dependencies (for unit testing and evaluation)
+ src: Source code
+ test: Unit tests
The following commands are available from the root directory of the project and can be called using the make command.
Make sure to compile (make compile
) the project before using any of the other commands.
compile Compile all java files
clean Remove java class files
test Run JUnit tests
stacscheck Run stacscheck checks (only on school server)
evaluation Run the evaluation (run experiments, create plots)
serve Run the server for the expert system
help Print available commands