A C++ framework for graph inference.
pybind11scikit-buildnumpyscipynetworkxpandaspytestbasegraph
You can use pip to install the python module:
pip install .GraphInf is also available on PYPI:
pip install graphinfNote that the basegraph must be installed. You can either download it and install it yourself, or you can load the submodules and install it directly from the repository:
git submodule --init
pip install ext/base_graphTO build the C++ library, we use cmake. First, we must set up the CMake environment. From the root directory (i.e., where the root file CMakeFile.txt is located), run the following command:
cmake -S . -B build This commands build the necessary scripts for building the library. To set up the environment for building the C++ unit tests as well, set the BUILD_TEST argument to ON:
cmake -S . -B build -DBUILD_TESTS=ON -Wno-devFinally, build the C++ library by running the following command:
cmake --build build -j4