CAL
3.0.0
An External Memory Decision Diagram Library
|
One needs a C++ compiler of ones choice that supports both the C and C++ 11 standard, such as the GNU, Clang, and MSVC compilers. The entire project is built with CMake.
Furthermore, to create the documentation files, you need the Doxygen tool.
To install all of the above then run the respective command below.
Operating System | Shell command |
---|---|
Ubuntu 22+ | apt install cmake g++ doxygen |
Fedora 36+ | dnf install cmake gcc-c++ doxygen |
To get started with CAL, you need to place the repository somewhere on your machine. The simplest way to do so is to add it as a submodule inside of your Git repository.
Then include the following line in your project's CMakeLists.txt.
Finally, every single executable target is linked to CAL in the CMakeLists.txt file with the following lines.
After having linked the C++ source file with CAL as described above, one can either use CAL through a C and a C++ API.
The original C API from the 90s can be found in the <cal.h>
header file.
See the C API module for all functions.
The C++ header-only interface provides a zero-overhead wrapper for CAL in <calObj.hh>
. This is in many ways very similar to the C++ API of CUDD.
See the C++ API module for all functions