Skip to content

charlesmurphy1/graphinf

Repository files navigation

GraphInf

A C++ framework for graph inference.

Test Test

Installation

Requirements

  • pybind11
  • scikit-build
  • numpy
  • scipy
  • networkx
  • pandas
  • pytest
  • basegraph

Installation with pip

You can use pip to install the python module:

pip install .

GraphInf is also available on PYPI:

pip install graphinf

Note 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_graph

Build the C++ library

TO 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-dev

Finally, build the C++ library by running the following command:

cmake --build build -j4

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Contributors 2

  •  
  •