PySDD 1.0.0__tar.gz → 1.0.2__tar.gz
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- {pysdd-1.0.0 → pysdd-1.0.2}/PKG-INFO +5 -4
- {pysdd-1.0.0 → pysdd-1.0.2}/PySDD.egg-info/PKG-INFO +5 -4
- {pysdd-1.0.0 → pysdd-1.0.2}/PySDD.egg-info/requires.txt +2 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pyproject.toml +5 -3
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/sdd.pyx +5 -4
- {pysdd-1.0.0 → pysdd-1.0.2}/LICENSE +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/PySDD.egg-info/SOURCES.txt +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/PySDD.egg-info/dependency_links.txt +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/PySDD.egg-info/entry_points.txt +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/PySDD.egg-info/top_level.txt +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/README.rst +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/__init__.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/__main__.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/cli.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/iterator.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/computed.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/count_and_size.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/gc.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/hash.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/memory.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/multiply.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/nodes.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/partitions.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/references.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/replace.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/shadows.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/basic/sort.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/manager/copy.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/manager/interface.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/manager/manager.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/manager/stats.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/manager/variables.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/apply.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/bits.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/cardinality.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/condition.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/copy.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/count.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/essential_vars.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/exists.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/exists_multiple.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/exists_multiple_static.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/forall.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/io.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/model_count.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/rename_vars.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/size.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/sdds/wmc.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/util.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/verify.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/version.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_fragments/construction.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_fragments/moves.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_fragments/operations.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/cartesian_product.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/dissect.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/limits.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/op_left_rotate.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/op_right_rotate.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/op_swap.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/rollback.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_operations/split.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_search/auto.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_search/search.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtree_search/state.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtrees/compare.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtrees/edit.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtrees/io.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtrees/maps.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtrees/moves.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtrees/static.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/libsdd-2.0/src/vtrees/vtree.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/sdd-2.0/src/fnf/compiler.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/sdd-2.0/src/fnf/fnf.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/sdd-2.0/src/fnf/io.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/lib/sdd-2.0/src/fnf/utils.c +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/util.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/pysdd/wmcstochastic.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/setup.cfg +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/tests/test_iterator.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/tests/test_minimize.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/tests/test_nnf.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/tests/test_psdd.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/tests/test_util.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/tests/test_vtree.py +0 -0
- {pysdd-1.0.0 → pysdd-1.0.2}/tests/test_wmcstochastic.py +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: PySDD
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Sentential Decision Diagrams
|
|
5
5
|
Author: Arthur Choi
|
|
6
|
-
Author-email: Wannes Meert <wannes.meert@cs.kuleuven.be>
|
|
6
|
+
Author-email: Wannes Meert <wannes.meert@cs.kuleuven.be>, Robin Manhaeve <robin.manhaeve@kuleuven.be>
|
|
7
7
|
License: Copyright 2018, KU Leuven and Regents of the University of California
|
|
8
8
|
|
|
9
9
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -29,9 +29,10 @@ Requires-Python: >=3.8
|
|
|
29
29
|
Description-Content-Type: text/x-rst
|
|
30
30
|
License-File: LICENSE
|
|
31
31
|
Requires-Dist: cython
|
|
32
|
-
Requires-Dist: numpy
|
|
33
32
|
Provides-Extra: tests
|
|
34
33
|
Requires-Dist: pytest; extra == "tests"
|
|
34
|
+
Provides-Extra: notebooks
|
|
35
|
+
Requires-Dist: numpy; extra == "notebooks"
|
|
35
36
|
|
|
36
37
|
=====
|
|
37
38
|
PySDD
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
Metadata-Version: 2.
|
|
1
|
+
Metadata-Version: 2.2
|
|
2
2
|
Name: PySDD
|
|
3
|
-
Version: 1.0.
|
|
3
|
+
Version: 1.0.2
|
|
4
4
|
Summary: Sentential Decision Diagrams
|
|
5
5
|
Author: Arthur Choi
|
|
6
|
-
Author-email: Wannes Meert <wannes.meert@cs.kuleuven.be>
|
|
6
|
+
Author-email: Wannes Meert <wannes.meert@cs.kuleuven.be>, Robin Manhaeve <robin.manhaeve@kuleuven.be>
|
|
7
7
|
License: Copyright 2018, KU Leuven and Regents of the University of California
|
|
8
8
|
|
|
9
9
|
Licensed under the Apache License, Version 2.0 (the "License");
|
|
@@ -29,9 +29,10 @@ Requires-Python: >=3.8
|
|
|
29
29
|
Description-Content-Type: text/x-rst
|
|
30
30
|
License-File: LICENSE
|
|
31
31
|
Requires-Dist: cython
|
|
32
|
-
Requires-Dist: numpy
|
|
33
32
|
Provides-Extra: tests
|
|
34
33
|
Requires-Dist: pytest; extra == "tests"
|
|
34
|
+
Provides-Extra: notebooks
|
|
35
|
+
Requires-Dist: numpy; extra == "notebooks"
|
|
35
36
|
|
|
36
37
|
=====
|
|
37
38
|
PySDD
|
|
@@ -4,18 +4,18 @@ build-backend = "setuptools.build_meta"
|
|
|
4
4
|
|
|
5
5
|
[project]
|
|
6
6
|
name = "PySDD"
|
|
7
|
-
version = "1.0.
|
|
7
|
+
version = "1.0.2"
|
|
8
8
|
description = "Sentential Decision Diagrams"
|
|
9
9
|
authors = [
|
|
10
10
|
{ name = "Wannes Meert", email = "wannes.meert@cs.kuleuven.be" },
|
|
11
11
|
{ name = "Arthur Choi" },
|
|
12
|
+
{ name = "Robin Manhaeve", email = "robin.manhaeve@kuleuven.be" },
|
|
12
13
|
]
|
|
13
14
|
readme = "README.rst"
|
|
14
15
|
license = { file = "LICENSE" }
|
|
15
16
|
requires-python = ">=3.8"
|
|
16
17
|
dependencies = [
|
|
17
18
|
"cython",
|
|
18
|
-
"numpy",
|
|
19
19
|
]
|
|
20
20
|
keywords = ["sdd, knowledge compilation"]
|
|
21
21
|
classifiers = [
|
|
@@ -27,7 +27,7 @@ classifiers = [
|
|
|
27
27
|
|
|
28
28
|
[project.optional-dependencies]
|
|
29
29
|
tests = ["pytest"]
|
|
30
|
-
|
|
30
|
+
notebooks = ["numpy"]
|
|
31
31
|
|
|
32
32
|
|
|
33
33
|
[project.urls]
|
|
@@ -114,6 +114,8 @@ include-dirs = [
|
|
|
114
114
|
|
|
115
115
|
[tool.cibuildwheel]
|
|
116
116
|
environment = {CFLAGS="-std=c99 -O2 -finline-functions" }
|
|
117
|
+
test-requires = "pytest"
|
|
118
|
+
test-command = "pytest {project}/tests"
|
|
117
119
|
|
|
118
120
|
[tool.cibuildwheel.windows]
|
|
119
121
|
environment = {CL = "/O2"}
|
|
@@ -17,6 +17,7 @@ from . cimport io_c
|
|
|
17
17
|
from . cimport fnf_c
|
|
18
18
|
from cpython cimport array
|
|
19
19
|
from cpython.mem cimport PyMem_Malloc, PyMem_Free
|
|
20
|
+
from libc.time cimport clock_t
|
|
20
21
|
|
|
21
22
|
import os
|
|
22
23
|
import tempfile
|
|
@@ -1034,7 +1035,7 @@ cdef class SddManager:
|
|
|
1034
1035
|
def set_vtree_search_convergence_threshold(self, float threshold):
|
|
1035
1036
|
sddapi_c.sdd_manager_set_vtree_search_convergence_threshold(threshold, self._sddmanager)
|
|
1036
1037
|
|
|
1037
|
-
def set_vtree_search_time_limit(self,
|
|
1038
|
+
def set_vtree_search_time_limit(self, clock_t time_limit):
|
|
1038
1039
|
"""Set the time limits for the vtree search algorithm.
|
|
1039
1040
|
|
|
1040
1041
|
A vtree operation is either a rotation or a swap. Times are in seconds and correspond to CPU time.
|
|
@@ -1042,7 +1043,7 @@ cdef class SddManager:
|
|
|
1042
1043
|
"""
|
|
1043
1044
|
sddapi_c.sdd_manager_set_vtree_search_time_limit(time_limit, self._sddmanager)
|
|
1044
1045
|
|
|
1045
|
-
def set_vtree_fragment_time_limit(self,
|
|
1046
|
+
def set_vtree_fragment_time_limit(self, clock_t time_limit):
|
|
1046
1047
|
"""Set the time limits for the vtree search algorithm.
|
|
1047
1048
|
|
|
1048
1049
|
A vtree operation is either a rotation or a swap. Times are in seconds and correspond to CPU time.
|
|
@@ -1050,7 +1051,7 @@ cdef class SddManager:
|
|
|
1050
1051
|
"""
|
|
1051
1052
|
sddapi_c.sdd_manager_set_vtree_fragment_time_limit(time_limit, self._sddmanager)
|
|
1052
1053
|
|
|
1053
|
-
def set_vtree_operation_time_limit(self,
|
|
1054
|
+
def set_vtree_operation_time_limit(self, clock_t time_limit):
|
|
1054
1055
|
"""Set the time limits for the vtree search algorithm.
|
|
1055
1056
|
|
|
1056
1057
|
A vtree operation is either a rotation or a swap. Times are in seconds and correspond to CPU time.
|
|
@@ -1058,7 +1059,7 @@ cdef class SddManager:
|
|
|
1058
1059
|
"""
|
|
1059
1060
|
sddapi_c.sdd_manager_set_vtree_operation_time_limit(time_limit, self._sddmanager)
|
|
1060
1061
|
|
|
1061
|
-
def set_vtree_apply_time_limit(self,
|
|
1062
|
+
def set_vtree_apply_time_limit(self, clock_t time_limit):
|
|
1062
1063
|
"""Set the time limits for the vtree search algorithm.
|
|
1063
1064
|
|
|
1064
1065
|
A vtree operation is either a rotation or a swap. Times are in seconds and correspond to CPU time.
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|