PAC-MAN: Probably Approximately Correct Model ANalyzer
-
Before installing PAC-MAN, please make sure the following packages are installed (with apt-get install):
ant
m4
autoconf
g++
-
Setup OCaml 4.01.0 (if OCaml is at version 4.01.0, please skip this part):
Note: This version of OCaml cannot be replaced with the newer versions. CREST, which is an important component of PAC-MAN, needs this specific version of OCaml.
wget http://caml.inria.fr/pub/distrib/ocaml-4.01/ocaml-4.01.0.tar.gz;
tar xzf ocaml-4.01.0.tar.gz;
cd ocaml-4.01.0; ./configure; make world.opt; sudo make install; cd ..;
-
Setup FindLib 1.5.6: (if FindLib is installed, please skip this part):
wget http://download.camlcity.org/download/findlib-1.5.6.tar.gz;
tar xzf findlib-1.5.6.tar.gz
cd findlib-1.5.6; ./configure; make all; make opt; sudo make install; cd ..;
-
Install OPAM and dependency packages: (if OPAM is installed, please skip the first two commands)
sudo apt-get install opam;
opam init https://opam.ocaml.org/1.1;
opam install cil;
-
Build PAC-MAN:
./build.sh
./pacman.sh [File]
Error rate = 0.004 Confidence level = 0.98427195992