Build Status | Documentation |
---|---|
Probabilistic Circuits - part of Juice (Julia Circuit Empanada)
To install the latest stable release, run:
julia -e 'using Pkg; Pkg.add("ProbabilisticCircuits")'
To install from the latest commits of the package (recommented to also use latest commits of LogicCircuits.jl
), run:
julia -e 'using Pkg; Pkg.add([PackageSpec(url="https://github.com/Juice-jl/LogicCircuits.jl.git"),PackageSpec(url="https://github.com/Juice-jl/ProbabilisticCircuits.jl.git")])'
This will automatically install all dependencies described in Project.toml
.
The first time you run using ProbabilisticCircuits
in Julia, it will precompile the package and all its dependencies.
Note: Currently ProbabilisticCircuits
installation and build fails on Windows due to one of our dependencies (see Issue 3 for more details). Additionally, on Linux you need to have a C++ compiler installed due to the same dependency (See BlossomV.jl).
To make sure everything is working correctly, you can run our test suite as follows. The first time you run the tests will trigger a few slow downloads of various test resources.
julia --color=yes -e 'using Pkg; Pkg.test("ProbabilisticCircuits")'
If you are interested in modifying the package please see the development README.
To build the documentation locally, follow the instructions in the docs Readme.