Old engine for Continuous Time Bayesian Networks. Superseded by reCTBN. 🐍
https://github.com/madlabunimib/PyCTBN
You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
38 lines
1.1 KiB
38 lines
1.1 KiB
|
|
def configuration(parent_package='', top_path=None):
|
|
import numpy
|
|
from numpy.distutils.misc_util import Configuration
|
|
|
|
config = Configuration('csgraph', parent_package, top_path)
|
|
|
|
config.add_data_dir('tests')
|
|
|
|
config.add_extension('_shortest_path',
|
|
sources=['_shortest_path.c'],
|
|
include_dirs=[numpy.get_include()])
|
|
|
|
config.add_extension('_traversal',
|
|
sources=['_traversal.c'],
|
|
include_dirs=[numpy.get_include()])
|
|
|
|
config.add_extension('_min_spanning_tree',
|
|
sources=['_min_spanning_tree.c'],
|
|
include_dirs=[numpy.get_include()])
|
|
|
|
config.add_extension('_matching',
|
|
sources=['_matching.c'],
|
|
include_dirs=[numpy.get_include()])
|
|
|
|
config.add_extension('_flow',
|
|
sources=['_flow.c'],
|
|
include_dirs=[numpy.get_include()])
|
|
|
|
config.add_extension('_reordering',
|
|
sources=['_reordering.c'],
|
|
include_dirs=[numpy.get_include()])
|
|
|
|
config.add_extension('_tools',
|
|
sources=['_tools.c'],
|
|
include_dirs=[numpy.get_include()])
|
|
|
|
return config
|
|
|