PySDD 0.2.10__tar.gz → 0.2.12__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-0.2.12/MANIFEST.in +2 -0
- pysdd-0.2.12/PKG-INFO +225 -0
- pysdd-0.2.12/PySDD.egg-info/PKG-INFO +225 -0
- pysdd-0.2.12/PySDD.egg-info/SOURCES.txt +115 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/PySDD.egg-info/entry_points.txt +0 -1
- pysdd-0.2.12/PySDD.egg-info/requires.txt +9 -0
- pysdd-0.2.12/pyproject.toml +4 -0
- pysdd-0.2.12/pysdd/__init__.py +1 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/cli.py +1 -1
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/compiler_c.pxd +2 -2
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/fnf_c.pxd +2 -2
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/io_c.pxd +2 -2
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/include/macros.h +1 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/include/sdd.h +21 -4
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/sddapi.h +3 -3
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/hash.c +4 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/memory.c +2 -2
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/manager/interface.c +6 -4
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/exists_multiple.c +1 -1
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/io.c +1 -1
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/util.c +4 -2
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/version.c +2 -1
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtrees/compare.c +3 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtrees/static.c +1 -1
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/include/compiler.h +5 -3
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/include/io.h +1 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/include/sddapi.h +3 -3
- pysdd-0.2.12/pysdd/lib/sdd-2.0/lib/Darwin-arm/libsdd.a +0 -0
- pysdd-0.2.12/pysdd/lib/sdd-2.0/lib/Windows/sdd.dll +0 -0
- pysdd-0.2.12/pysdd/lib/sdd-2.0/lib/Windows/sdd.lib +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/src/fnf/compiler.c +3 -3
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/src/fnf/io.c +2 -2
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/src/fnf/utils.c +2 -1
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/src/main.c +2 -0
- pysdd-0.2.12/pysdd/lib/sdd_extra/include/sddapi_extra.h +22 -0
- pysdd-0.2.12/pysdd/sdd.c +84268 -0
- pysdd-0.2.12/pysdd/sdd.dll +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/sdd.pyx +112 -25
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/sddapi_c.pxd +12 -3
- {PySDD-0.2.10 → pysdd-0.2.12}/setup.py +79 -22
- pysdd-0.2.12/tests/test_iterator.py +156 -0
- pysdd-0.2.12/tests/test_minimize.py +85 -0
- pysdd-0.2.12/tests/test_nnf.py +94 -0
- pysdd-0.2.12/tests/test_psdd.py +28 -0
- pysdd-0.2.12/tests/test_util.py +48 -0
- pysdd-0.2.12/tests/test_vtree.py +31 -0
- pysdd-0.2.12/tests/test_wmcstochastic.py +75 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/Code.pxd +0 -123
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/FlowControl.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/FlowControl.pxd +0 -111
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/FusedNode.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/ParseTreeTransforms.pxd +0 -82
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/Parsing.pxd +0 -198
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/Scanning.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/Scanning.pxd +0 -67
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/Visitor.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Compiler/Visitor.pxd +0 -55
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Debugger/Tests/cfuncs.c +0 -8
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_bool.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_buffer.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_bytes.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_cobject.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_complex.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_dict.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_exc.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_float.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_function.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_getargs.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_instance.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_int.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_iterator.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_list.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_long.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_mapping.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_mem.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_method.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_module.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_number.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_object.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_oldbuffer.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_pycapsule.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_ref.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_sequence.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_set.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_string.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_tuple.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_type.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_unicode.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_version.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/python_weakref.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/stdio.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/stdlib.pxd +0 -2
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/Deprecated/stl.pxd +0 -91
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/__init__.pxd +0 -184
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/array.pxd +0 -163
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/bool.pxd +0 -38
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/buffer.pxd +0 -109
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/bytearray.pxd +0 -33
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/bytes.pxd +0 -198
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/ceval.pxd +0 -8
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/cobject.pxd +0 -36
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/complex.pxd +0 -50
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/datetime.pxd +0 -212
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/dict.pxd +0 -165
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/exc.pxd +0 -257
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/float.pxd +0 -39
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/function.pxd +0 -65
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/getargs.pxd +0 -12
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/instance.pxd +0 -25
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/int.pxd +0 -89
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/iterator.pxd +0 -36
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/list.pxd +0 -92
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/long.pxd +0 -149
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/longintrepr.pxd +0 -15
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/mapping.pxd +0 -64
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/mem.pxd +0 -111
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/method.pxd +0 -49
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/module.pxd +0 -188
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/number.pxd +0 -251
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/object.pxd +0 -399
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/oldbuffer.pxd +0 -63
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/pycapsule.pxd +0 -145
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/pylifecycle.pxd +0 -68
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/pystate.pxd +0 -91
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/pythread.pxd +0 -53
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/ref.pxd +0 -51
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/sequence.pxd +0 -136
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/set.pxd +0 -119
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/slice.pxd +0 -47
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/string.pxd +0 -198
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/tuple.pxd +0 -71
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/type.pxd +0 -48
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/unicode.pxd +0 -545
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/version.pxd +0 -32
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/cpython/weakref.pxd +0 -42
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/__init__.pxd +0 -1
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/errno.pxd +0 -128
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/float.pxd +0 -43
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/limits.pxd +0 -28
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/locale.pxd +0 -46
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/math.pxd +0 -106
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/setjmp.pxd +0 -10
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/signal.pxd +0 -64
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/stddef.pxd +0 -9
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/stdint.pxd +0 -105
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/stdio.pxd +0 -80
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/stdlib.pxd +0 -72
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/string.pxd +0 -50
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libc/time.pxd +0 -46
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/__init__.pxd +0 -4
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/algorithm.pxd +0 -43
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/cast.pxd +0 -12
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/complex.pxd +0 -101
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/deque.pxd +0 -86
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/forward_list.pxd +0 -62
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/functional.pxd +0 -13
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/iterator.pxd +0 -32
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/limits.pxd +0 -61
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/list.pxd +0 -78
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/map.pxd +0 -68
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/memory.pxd +0 -115
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/pair.pxd +0 -1
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/queue.pxd +0 -25
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/set.pxd +0 -61
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/stack.pxd +0 -11
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/string.pxd +0 -158
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/typeindex.pxd +0 -15
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/typeinfo.pxd +0 -10
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/unordered_map.pxd +0 -74
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/unordered_set.pxd +0 -69
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/utility.pxd +0 -15
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/libcpp/vector.pxd +0 -88
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/numpy/__init__.pxd +0 -1050
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/numpy/math.pxd +0 -133
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/openmp.pxd +0 -51
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/__init__.pxd +0 -1
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/dlfcn.pxd +0 -14
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/fcntl.pxd +0 -67
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/ioctl.pxd +0 -4
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/mman.pxd +0 -80
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/resource.pxd +0 -55
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/select.pxd +0 -19
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/signal.pxd +0 -73
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/stat.pxd +0 -71
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/stdio.pxd +0 -37
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/stdlib.pxd +0 -29
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/strings.pxd +0 -9
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/time.pxd +0 -71
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/types.pxd +0 -30
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/unistd.pxd +0 -271
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Includes/posix/wait.pxd +0 -38
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Plex/Actions.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Plex/Actions.pxd +0 -25
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Plex/Scanners.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Plex/Scanners.pxd +0 -50
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Runtime/refnanny.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Runtime/refnanny.pyx +0 -194
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Tempita/_tempita.cpython-37m-darwin.so +0 -0
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/AsyncGen.c +0 -1100
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Buffer.c +0 -918
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Builtins.c +0 -538
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/CConvert.pyx +0 -132
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/CMath.c +0 -95
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Capsule.c +0 -20
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/CommonStructures.c +0 -86
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Complex.c +0 -292
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Coroutine.c +0 -2300
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/CpdefEnums.pyx +0 -66
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/CppConvert.pyx +0 -237
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/CythonFunction.c +0 -1277
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Embed.c +0 -210
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Exceptions.c +0 -792
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/ExtensionTypes.c +0 -222
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/FunctionArguments.c +0 -352
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/ImportExport.c +0 -737
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/MemoryView.pyx +0 -1490
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/MemoryView_C.c +0 -947
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/ModuleSetupCode.c +0 -1493
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/ObjectHandling.c +0 -2460
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Optimize.c +0 -1193
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Overflow.c +0 -311
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Printing.c +0 -176
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/Profile.c +0 -335
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/StringTools.c +0 -1165
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/TestCyUtilityLoader.pyx +0 -8
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/TestCythonScope.pyx +0 -64
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/TestUtilityLoader.c +0 -12
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/TypeConversion.c +0 -986
- PySDD-0.2.10/.eggs/Cython-0.29.10-py3.7-macosx-10.14-x86_64.egg/Cython/Utility/arrayarray.h +0 -149
- PySDD-0.2.10/MANIFEST.in +0 -2
- PySDD-0.2.10/PKG-INFO +0 -219
- PySDD-0.2.10/PySDD.egg-info/PKG-INFO +0 -219
- PySDD-0.2.10/PySDD.egg-info/SOURCES.txt +0 -296
- PySDD-0.2.10/PySDD.egg-info/requires.txt +0 -5
- PySDD-0.2.10/pysdd/__init__.py +0 -1
- PySDD-0.2.10/pysdd/lib/libsdd-2.0/build/libsdd.a +0 -0
- PySDD-0.2.10/pysdd/lib/libsdd-2.0/debug/libsdd.a +0 -0
- PySDD-0.2.10/pysdd/lib/sdd-2.0/examples/src/circuit-gc.c +0 -152
- PySDD-0.2.10/pysdd/lib/sdd-2.0/examples/src/circuit.c +0 -117
- PySDD-0.2.10/pysdd/lib/sdd-2.0/examples/src/test-1.c +0 -42
- PySDD-0.2.10/pysdd/lib/sdd-2.0/examples/src/test-2.c +0 -61
- PySDD-0.2.10/pysdd/lib/sdd-2.0/examples/src/test-3.c +0 -42
- PySDD-0.2.10/pysdd/lib/sdd-2.0/examples/src/test-4.c +0 -57
- PySDD-0.2.10/pysdd/lib/sdd-2.0/examples/src/test-5.c +0 -64
- PySDD-0.2.10/pysdd/lib/sdd-2.0/lib/Darwin/debug/libsdd.a +0 -0
- PySDD-0.2.10/pysdd/lib/sdd-2.0/lib/Windows/libsdd.a +0 -0
- PySDD-0.2.10/pysdd/sdd.c +0 -58789
- {PySDD-0.2.10 → pysdd-0.2.12}/LICENSE +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/PySDD.egg-info/dependency_links.txt +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/PySDD.egg-info/not-zip-safe +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/PySDD.egg-info/top_level.txt +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/README.rst +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/__main__.py +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/iterator.py +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/include/iterators.h +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/include/parameters.h +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/include/stacks.h +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/computed.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/count_and_size.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/gc.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/multiply.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/nodes.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/partitions.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/references.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/replace.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/shadows.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/basic/sort.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/fnf/io.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/manager/copy.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/manager/manager.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/manager/stats.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/manager/variables.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/apply.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/bits.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/cardinality.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/condition.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/copy.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/count.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/essential_vars.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/exists.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/exists_multiple_static.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/forall.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/model_count.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/rename_vars.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/size.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/sdds/wmc.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/verify.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_fragments/construction.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_fragments/moves.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_fragments/operations.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/cartesian_product.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/dissect.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/limits.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/op_left_rotate.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/op_right_rotate.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/op_swap.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/rollback.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/split.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_operations/vtree_ops.h +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_search/auto.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_search/search.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtree_search/state.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtrees/edit.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtrees/io.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtrees/maps.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtrees/moves.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/libsdd-2.0/src/vtrees/vtree.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/include/fnf.h +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/lib/Darwin/libsdd.a +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/lib/Linux/libsdd.a +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/lib/Linux/libsdd.so +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/src/fnf/fnf.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/lib/sdd-2.0/src/getopt.c +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/util.py +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/pysdd/wmcstochastic.py +0 -0
- {PySDD-0.2.10 → pysdd-0.2.12}/setup.cfg +0 -0
pysdd-0.2.12/MANIFEST.in
ADDED
pysdd-0.2.12/PKG-INFO
ADDED
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: PySDD
|
|
3
|
+
Version: 0.2.12
|
|
4
|
+
Summary: Sentential Decision Diagrams
|
|
5
|
+
Home-page: https://github.com/wannesm/PySDD
|
|
6
|
+
Author: Wannes Meert, Arthur Choi
|
|
7
|
+
Author-email: wannes.meert@cs.kuleuven.be
|
|
8
|
+
License: Apache 2.0
|
|
9
|
+
Project-URL: PySDD documentation, https://pysdd.readthedocs.io/en/latest/
|
|
10
|
+
Project-URL: PySDD source, https://github.com/wannesm/PySDD
|
|
11
|
+
Keywords: sdd,knowledge compilation
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
16
|
+
Requires-Python: >=3.6
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: cython>=3.0.0
|
|
19
|
+
Provides-Extra: all
|
|
20
|
+
Requires-Dist: cysignals; extra == "all"
|
|
21
|
+
Requires-Dist: numpy; extra == "all"
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: pytest; extra == "dev"
|
|
24
|
+
Requires-Dist: cython>=3.0.0; extra == "dev"
|
|
25
|
+
|
|
26
|
+
=====
|
|
27
|
+
PySDD
|
|
28
|
+
=====
|
|
29
|
+
|
|
30
|
+
Python wrapper package to interactively use `Sententical Decision Diagrams (SDD) <http://reasoning.cs.ucla.edu/sdd/>`_.
|
|
31
|
+
|
|
32
|
+
Full documentation available on http://pysdd.readthedocs.io.
|
|
33
|
+
|
|
34
|
+
------------
|
|
35
|
+
Dependencies
|
|
36
|
+
------------
|
|
37
|
+
|
|
38
|
+
* Python >=3.6
|
|
39
|
+
* Cython
|
|
40
|
+
|
|
41
|
+
Optional:
|
|
42
|
+
|
|
43
|
+
* cysignals
|
|
44
|
+
* numpy
|
|
45
|
+
|
|
46
|
+
Make sure to have the correct development tools installed:
|
|
47
|
+
|
|
48
|
+
* C compiler (see `Installing Cython <https://cython.readthedocs.io/en/latest/src/quickstart/install.html>`_)
|
|
49
|
+
* The Python development version that includes Python header files and static library (e.g. libpython3-dev, python-dev, ...)
|
|
50
|
+
|
|
51
|
+
------------
|
|
52
|
+
Installation
|
|
53
|
+
------------
|
|
54
|
+
|
|
55
|
+
.. code-block:: shell
|
|
56
|
+
|
|
57
|
+
$ pip install PySDD
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
--------------
|
|
61
|
+
Python package
|
|
62
|
+
--------------
|
|
63
|
+
|
|
64
|
+
The wrapper can be used as a Python package and allows for interactive use.
|
|
65
|
+
|
|
66
|
+
The following example builds an SDD for the formula ``a∧b ∨ b∧c ∨ c∧d``.
|
|
67
|
+
|
|
68
|
+
.. code-block:: python
|
|
69
|
+
|
|
70
|
+
from pysdd.sdd import SddManager, Vtree, WmcManager
|
|
71
|
+
vtree = Vtree(var_count=4, var_order=[2,1,4,3], vtree_type="balanced")
|
|
72
|
+
sdd = SddManager.from_vtree(vtree)
|
|
73
|
+
a, b, c, d = sdd.vars
|
|
74
|
+
|
|
75
|
+
# Build SDD for formula
|
|
76
|
+
formula = (a & b) | (b & c) | (c & d)
|
|
77
|
+
|
|
78
|
+
# Model Counting
|
|
79
|
+
wmc = formula.wmc(log_mode=False)
|
|
80
|
+
print(f"Model Count: {wmc.propagate()}")
|
|
81
|
+
wmc.set_literal_weight(a, 0.5)
|
|
82
|
+
print(f"Weighted Model Count: {wmc.propagate()}")
|
|
83
|
+
|
|
84
|
+
# Visualize SDD and Vtree
|
|
85
|
+
with open("output/sdd.dot", "w") as out:
|
|
86
|
+
print(formula.dot(), file=out)
|
|
87
|
+
with open("output/vtree.dot", "w") as out:
|
|
88
|
+
print(vtree.dot(), file=out)
|
|
89
|
+
|
|
90
|
+
The SDD and Vtree are visualized using Graphviz DOT:
|
|
91
|
+
|
|
92
|
+
.. image:: https://people.cs.kuleuven.be/wannes.meert/pysdd/sdd.png
|
|
93
|
+
.. image:: https://people.cs.kuleuven.be/wannes.meert/pysdd/vtree.png
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
More examples are available in the ``examples`` directory.
|
|
98
|
+
An interactive Jupyter notebook is available in
|
|
99
|
+
`notebooks/examples.ipynb <notebooks/examples.ipynb>`_
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
----------------------
|
|
103
|
+
Command Line Interface
|
|
104
|
+
----------------------
|
|
105
|
+
|
|
106
|
+
A Python CLI application is installed if you use pip, ``pysdd``. Or it can be used
|
|
107
|
+
directly from the source directory where it is called ``pysdd-cli.py``.
|
|
108
|
+
This script mimicks the original sdd binary and adds additional features (e.g. weighted model counting)
|
|
109
|
+
|
|
110
|
+
.. code-block:: shell
|
|
111
|
+
|
|
112
|
+
$ pysdd -h
|
|
113
|
+
$ ./pysdd-cli.py -h
|
|
114
|
+
usage: pysdd-cli.py [-h] [-c FILE | -d FILE | -s FILE] [-v FILE] [-W FILE]
|
|
115
|
+
[-V FILE] [-R FILE] [-S FILE] [-m] [-t TYPE] [-r K] [-q]
|
|
116
|
+
[-p] [--log_mode]
|
|
117
|
+
|
|
118
|
+
Sentential Decision Diagram, Compiler
|
|
119
|
+
|
|
120
|
+
optional arguments:
|
|
121
|
+
-h, --help show this help message and exit
|
|
122
|
+
-c FILE set input CNF file
|
|
123
|
+
-d FILE set input DNF file
|
|
124
|
+
-s FILE set input SDD file
|
|
125
|
+
-v FILE set input VTREE file
|
|
126
|
+
-W FILE set output VTREE file
|
|
127
|
+
-V FILE set output VTREE (dot) file
|
|
128
|
+
-R FILE set output SDD file
|
|
129
|
+
-S FILE set output SDD (dot) file
|
|
130
|
+
-m minimize the cardinality of compiled sdd
|
|
131
|
+
-t TYPE set initial vtree type (left/right/vertical/balanced/random)
|
|
132
|
+
-r K if K>0: invoke vtree search every K clauses. If K=0: disable
|
|
133
|
+
vtree search. By default (no -r option), dynamic vtree search is
|
|
134
|
+
enabled
|
|
135
|
+
-q perform post-compilation vtree search
|
|
136
|
+
-p verbose output
|
|
137
|
+
--log_mode weights in log
|
|
138
|
+
|
|
139
|
+
Weighted Model Counting is performed if the NNF file containts a line
|
|
140
|
+
formatted as follows: "c weights PW_1 NW_1 ... PW_n NW_n".
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
-----------------
|
|
144
|
+
Memory management
|
|
145
|
+
-----------------
|
|
146
|
+
|
|
147
|
+
Python's memory management is not used for the internal datastructures.
|
|
148
|
+
Use the SDD library's garbage collection commands (e.g. ref, deref) to
|
|
149
|
+
perform memory management.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
-----------------------
|
|
153
|
+
Compilation from source
|
|
154
|
+
-----------------------
|
|
155
|
+
|
|
156
|
+
.. code-block:: shell
|
|
157
|
+
|
|
158
|
+
$ pip install git+https://github.com/wannesm/PySDD.git#egg=PySDD
|
|
159
|
+
|
|
160
|
+
The repository should contain all the required files and libraries (unless
|
|
161
|
+
you use Windows). If you want to compile from source, note that some c-source
|
|
162
|
+
files from the SDD package have been updated to work with this wrapper and are
|
|
163
|
+
included in this repository. Do not overwrite these new files with the original
|
|
164
|
+
files.
|
|
165
|
+
|
|
166
|
+
* Download the SDD package from http://reasoning.cs.ucla.edu/sdd/.
|
|
167
|
+
* Install the SDD package in the PySDD package in directories
|
|
168
|
+
``pysdd/lib/sdd-2.0`` and ``pysdd/lib/sddlib-2.0`` without overwriting
|
|
169
|
+
the already available files.
|
|
170
|
+
* Run ``python3 setup.py build_ext --inplace`` or ``make build`` to compile the
|
|
171
|
+
library in the current directory. If you want to install the library such
|
|
172
|
+
that the library is available for your local installation or in your virtual
|
|
173
|
+
environment, use ``python3 setup.py install``.
|
|
174
|
+
|
|
175
|
+
For some Linux platforms, it might be necessary to recompile the libsdd-2.0 code with
|
|
176
|
+
the gcc option ``-fPIC`` and replace the ``pysdd/lib/sdd-2.0/lib/Linux/libsdd.a``
|
|
177
|
+
library with your newly compiled version.
|
|
178
|
+
|
|
179
|
+
The Windows platform is not supported. There is some initial support but we cannot
|
|
180
|
+
offer guarantees or detailed instructions (but are happy to accept pull requests).
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
----------
|
|
184
|
+
References
|
|
185
|
+
----------
|
|
186
|
+
|
|
187
|
+
This package is inspired by the SDD wrapper used in the probabilistic
|
|
188
|
+
programming language `ProbLog <https://dtai.cs.kuleuven.be/problog/>`_.
|
|
189
|
+
|
|
190
|
+
References:
|
|
191
|
+
|
|
192
|
+
* Wannes Meert, PySDD,
|
|
193
|
+
in `Recent Trends in Knowledge Compilation
|
|
194
|
+
<http://drops.dagstuhl.de/opus/volltexte/2018/8589/pdf/dagrep_v007_i009_p062_17381.pdf>`_,
|
|
195
|
+
Report from Dagstuhl Seminar 17381, Sep 2017.
|
|
196
|
+
Eds. A. Darwiche, P. Marquis, D. Suciu, S. Szeider.
|
|
197
|
+
|
|
198
|
+
Other languages:
|
|
199
|
+
|
|
200
|
+
* C: http://reasoning.cs.ucla.edu/sdd/
|
|
201
|
+
* Java: https://github.com/jessa/JSDD
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
-------
|
|
205
|
+
Contact
|
|
206
|
+
-------
|
|
207
|
+
|
|
208
|
+
* Wannes Meert, KU Leuven, https://people.cs.kuleuven.be/wannes.meert
|
|
209
|
+
* Arthur Choi, UCLA, http://web.cs.ucla.edu/~aychoi/
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
-------
|
|
213
|
+
License
|
|
214
|
+
-------
|
|
215
|
+
|
|
216
|
+
Python SDD wrapper:
|
|
217
|
+
|
|
218
|
+
Copyright 2017-2018, KU Leuven and Regents of the University of California.
|
|
219
|
+
Licensed under the Apache License, Version 2.0.
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
SDD package:
|
|
223
|
+
|
|
224
|
+
Copyright 2013-2018, Regents of the University of California
|
|
225
|
+
Licensed under the Apache License, Version 2.0.
|
|
@@ -0,0 +1,225 @@
|
|
|
1
|
+
Metadata-Version: 2.1
|
|
2
|
+
Name: PySDD
|
|
3
|
+
Version: 0.2.12
|
|
4
|
+
Summary: Sentential Decision Diagrams
|
|
5
|
+
Home-page: https://github.com/wannesm/PySDD
|
|
6
|
+
Author: Wannes Meert, Arthur Choi
|
|
7
|
+
Author-email: wannes.meert@cs.kuleuven.be
|
|
8
|
+
License: Apache 2.0
|
|
9
|
+
Project-URL: PySDD documentation, https://pysdd.readthedocs.io/en/latest/
|
|
10
|
+
Project-URL: PySDD source, https://github.com/wannesm/PySDD
|
|
11
|
+
Keywords: sdd,knowledge compilation
|
|
12
|
+
Classifier: Intended Audience :: Developers
|
|
13
|
+
Classifier: License :: OSI Approved :: Apache Software License
|
|
14
|
+
Classifier: Programming Language :: Python :: 3
|
|
15
|
+
Classifier: Topic :: Scientific/Engineering :: Artificial Intelligence
|
|
16
|
+
Requires-Python: >=3.6
|
|
17
|
+
License-File: LICENSE
|
|
18
|
+
Requires-Dist: cython>=3.0.0
|
|
19
|
+
Provides-Extra: all
|
|
20
|
+
Requires-Dist: cysignals; extra == "all"
|
|
21
|
+
Requires-Dist: numpy; extra == "all"
|
|
22
|
+
Provides-Extra: dev
|
|
23
|
+
Requires-Dist: pytest; extra == "dev"
|
|
24
|
+
Requires-Dist: cython>=3.0.0; extra == "dev"
|
|
25
|
+
|
|
26
|
+
=====
|
|
27
|
+
PySDD
|
|
28
|
+
=====
|
|
29
|
+
|
|
30
|
+
Python wrapper package to interactively use `Sententical Decision Diagrams (SDD) <http://reasoning.cs.ucla.edu/sdd/>`_.
|
|
31
|
+
|
|
32
|
+
Full documentation available on http://pysdd.readthedocs.io.
|
|
33
|
+
|
|
34
|
+
------------
|
|
35
|
+
Dependencies
|
|
36
|
+
------------
|
|
37
|
+
|
|
38
|
+
* Python >=3.6
|
|
39
|
+
* Cython
|
|
40
|
+
|
|
41
|
+
Optional:
|
|
42
|
+
|
|
43
|
+
* cysignals
|
|
44
|
+
* numpy
|
|
45
|
+
|
|
46
|
+
Make sure to have the correct development tools installed:
|
|
47
|
+
|
|
48
|
+
* C compiler (see `Installing Cython <https://cython.readthedocs.io/en/latest/src/quickstart/install.html>`_)
|
|
49
|
+
* The Python development version that includes Python header files and static library (e.g. libpython3-dev, python-dev, ...)
|
|
50
|
+
|
|
51
|
+
------------
|
|
52
|
+
Installation
|
|
53
|
+
------------
|
|
54
|
+
|
|
55
|
+
.. code-block:: shell
|
|
56
|
+
|
|
57
|
+
$ pip install PySDD
|
|
58
|
+
|
|
59
|
+
|
|
60
|
+
--------------
|
|
61
|
+
Python package
|
|
62
|
+
--------------
|
|
63
|
+
|
|
64
|
+
The wrapper can be used as a Python package and allows for interactive use.
|
|
65
|
+
|
|
66
|
+
The following example builds an SDD for the formula ``a∧b ∨ b∧c ∨ c∧d``.
|
|
67
|
+
|
|
68
|
+
.. code-block:: python
|
|
69
|
+
|
|
70
|
+
from pysdd.sdd import SddManager, Vtree, WmcManager
|
|
71
|
+
vtree = Vtree(var_count=4, var_order=[2,1,4,3], vtree_type="balanced")
|
|
72
|
+
sdd = SddManager.from_vtree(vtree)
|
|
73
|
+
a, b, c, d = sdd.vars
|
|
74
|
+
|
|
75
|
+
# Build SDD for formula
|
|
76
|
+
formula = (a & b) | (b & c) | (c & d)
|
|
77
|
+
|
|
78
|
+
# Model Counting
|
|
79
|
+
wmc = formula.wmc(log_mode=False)
|
|
80
|
+
print(f"Model Count: {wmc.propagate()}")
|
|
81
|
+
wmc.set_literal_weight(a, 0.5)
|
|
82
|
+
print(f"Weighted Model Count: {wmc.propagate()}")
|
|
83
|
+
|
|
84
|
+
# Visualize SDD and Vtree
|
|
85
|
+
with open("output/sdd.dot", "w") as out:
|
|
86
|
+
print(formula.dot(), file=out)
|
|
87
|
+
with open("output/vtree.dot", "w") as out:
|
|
88
|
+
print(vtree.dot(), file=out)
|
|
89
|
+
|
|
90
|
+
The SDD and Vtree are visualized using Graphviz DOT:
|
|
91
|
+
|
|
92
|
+
.. image:: https://people.cs.kuleuven.be/wannes.meert/pysdd/sdd.png
|
|
93
|
+
.. image:: https://people.cs.kuleuven.be/wannes.meert/pysdd/vtree.png
|
|
94
|
+
|
|
95
|
+
|
|
96
|
+
|
|
97
|
+
More examples are available in the ``examples`` directory.
|
|
98
|
+
An interactive Jupyter notebook is available in
|
|
99
|
+
`notebooks/examples.ipynb <notebooks/examples.ipynb>`_
|
|
100
|
+
|
|
101
|
+
|
|
102
|
+
----------------------
|
|
103
|
+
Command Line Interface
|
|
104
|
+
----------------------
|
|
105
|
+
|
|
106
|
+
A Python CLI application is installed if you use pip, ``pysdd``. Or it can be used
|
|
107
|
+
directly from the source directory where it is called ``pysdd-cli.py``.
|
|
108
|
+
This script mimicks the original sdd binary and adds additional features (e.g. weighted model counting)
|
|
109
|
+
|
|
110
|
+
.. code-block:: shell
|
|
111
|
+
|
|
112
|
+
$ pysdd -h
|
|
113
|
+
$ ./pysdd-cli.py -h
|
|
114
|
+
usage: pysdd-cli.py [-h] [-c FILE | -d FILE | -s FILE] [-v FILE] [-W FILE]
|
|
115
|
+
[-V FILE] [-R FILE] [-S FILE] [-m] [-t TYPE] [-r K] [-q]
|
|
116
|
+
[-p] [--log_mode]
|
|
117
|
+
|
|
118
|
+
Sentential Decision Diagram, Compiler
|
|
119
|
+
|
|
120
|
+
optional arguments:
|
|
121
|
+
-h, --help show this help message and exit
|
|
122
|
+
-c FILE set input CNF file
|
|
123
|
+
-d FILE set input DNF file
|
|
124
|
+
-s FILE set input SDD file
|
|
125
|
+
-v FILE set input VTREE file
|
|
126
|
+
-W FILE set output VTREE file
|
|
127
|
+
-V FILE set output VTREE (dot) file
|
|
128
|
+
-R FILE set output SDD file
|
|
129
|
+
-S FILE set output SDD (dot) file
|
|
130
|
+
-m minimize the cardinality of compiled sdd
|
|
131
|
+
-t TYPE set initial vtree type (left/right/vertical/balanced/random)
|
|
132
|
+
-r K if K>0: invoke vtree search every K clauses. If K=0: disable
|
|
133
|
+
vtree search. By default (no -r option), dynamic vtree search is
|
|
134
|
+
enabled
|
|
135
|
+
-q perform post-compilation vtree search
|
|
136
|
+
-p verbose output
|
|
137
|
+
--log_mode weights in log
|
|
138
|
+
|
|
139
|
+
Weighted Model Counting is performed if the NNF file containts a line
|
|
140
|
+
formatted as follows: "c weights PW_1 NW_1 ... PW_n NW_n".
|
|
141
|
+
|
|
142
|
+
|
|
143
|
+
-----------------
|
|
144
|
+
Memory management
|
|
145
|
+
-----------------
|
|
146
|
+
|
|
147
|
+
Python's memory management is not used for the internal datastructures.
|
|
148
|
+
Use the SDD library's garbage collection commands (e.g. ref, deref) to
|
|
149
|
+
perform memory management.
|
|
150
|
+
|
|
151
|
+
|
|
152
|
+
-----------------------
|
|
153
|
+
Compilation from source
|
|
154
|
+
-----------------------
|
|
155
|
+
|
|
156
|
+
.. code-block:: shell
|
|
157
|
+
|
|
158
|
+
$ pip install git+https://github.com/wannesm/PySDD.git#egg=PySDD
|
|
159
|
+
|
|
160
|
+
The repository should contain all the required files and libraries (unless
|
|
161
|
+
you use Windows). If you want to compile from source, note that some c-source
|
|
162
|
+
files from the SDD package have been updated to work with this wrapper and are
|
|
163
|
+
included in this repository. Do not overwrite these new files with the original
|
|
164
|
+
files.
|
|
165
|
+
|
|
166
|
+
* Download the SDD package from http://reasoning.cs.ucla.edu/sdd/.
|
|
167
|
+
* Install the SDD package in the PySDD package in directories
|
|
168
|
+
``pysdd/lib/sdd-2.0`` and ``pysdd/lib/sddlib-2.0`` without overwriting
|
|
169
|
+
the already available files.
|
|
170
|
+
* Run ``python3 setup.py build_ext --inplace`` or ``make build`` to compile the
|
|
171
|
+
library in the current directory. If you want to install the library such
|
|
172
|
+
that the library is available for your local installation or in your virtual
|
|
173
|
+
environment, use ``python3 setup.py install``.
|
|
174
|
+
|
|
175
|
+
For some Linux platforms, it might be necessary to recompile the libsdd-2.0 code with
|
|
176
|
+
the gcc option ``-fPIC`` and replace the ``pysdd/lib/sdd-2.0/lib/Linux/libsdd.a``
|
|
177
|
+
library with your newly compiled version.
|
|
178
|
+
|
|
179
|
+
The Windows platform is not supported. There is some initial support but we cannot
|
|
180
|
+
offer guarantees or detailed instructions (but are happy to accept pull requests).
|
|
181
|
+
|
|
182
|
+
|
|
183
|
+
----------
|
|
184
|
+
References
|
|
185
|
+
----------
|
|
186
|
+
|
|
187
|
+
This package is inspired by the SDD wrapper used in the probabilistic
|
|
188
|
+
programming language `ProbLog <https://dtai.cs.kuleuven.be/problog/>`_.
|
|
189
|
+
|
|
190
|
+
References:
|
|
191
|
+
|
|
192
|
+
* Wannes Meert, PySDD,
|
|
193
|
+
in `Recent Trends in Knowledge Compilation
|
|
194
|
+
<http://drops.dagstuhl.de/opus/volltexte/2018/8589/pdf/dagrep_v007_i009_p062_17381.pdf>`_,
|
|
195
|
+
Report from Dagstuhl Seminar 17381, Sep 2017.
|
|
196
|
+
Eds. A. Darwiche, P. Marquis, D. Suciu, S. Szeider.
|
|
197
|
+
|
|
198
|
+
Other languages:
|
|
199
|
+
|
|
200
|
+
* C: http://reasoning.cs.ucla.edu/sdd/
|
|
201
|
+
* Java: https://github.com/jessa/JSDD
|
|
202
|
+
|
|
203
|
+
|
|
204
|
+
-------
|
|
205
|
+
Contact
|
|
206
|
+
-------
|
|
207
|
+
|
|
208
|
+
* Wannes Meert, KU Leuven, https://people.cs.kuleuven.be/wannes.meert
|
|
209
|
+
* Arthur Choi, UCLA, http://web.cs.ucla.edu/~aychoi/
|
|
210
|
+
|
|
211
|
+
|
|
212
|
+
-------
|
|
213
|
+
License
|
|
214
|
+
-------
|
|
215
|
+
|
|
216
|
+
Python SDD wrapper:
|
|
217
|
+
|
|
218
|
+
Copyright 2017-2018, KU Leuven and Regents of the University of California.
|
|
219
|
+
Licensed under the Apache License, Version 2.0.
|
|
220
|
+
|
|
221
|
+
|
|
222
|
+
SDD package:
|
|
223
|
+
|
|
224
|
+
Copyright 2013-2018, Regents of the University of California
|
|
225
|
+
Licensed under the Apache License, Version 2.0.
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
LICENSE
|
|
2
|
+
MANIFEST.in
|
|
3
|
+
README.rst
|
|
4
|
+
pyproject.toml
|
|
5
|
+
setup.cfg
|
|
6
|
+
setup.py
|
|
7
|
+
PySDD.egg-info/PKG-INFO
|
|
8
|
+
PySDD.egg-info/SOURCES.txt
|
|
9
|
+
PySDD.egg-info/dependency_links.txt
|
|
10
|
+
PySDD.egg-info/entry_points.txt
|
|
11
|
+
PySDD.egg-info/not-zip-safe
|
|
12
|
+
PySDD.egg-info/requires.txt
|
|
13
|
+
PySDD.egg-info/top_level.txt
|
|
14
|
+
pysdd/__init__.py
|
|
15
|
+
pysdd/__main__.py
|
|
16
|
+
pysdd/cli.py
|
|
17
|
+
pysdd/compiler_c.pxd
|
|
18
|
+
pysdd/fnf_c.pxd
|
|
19
|
+
pysdd/io_c.pxd
|
|
20
|
+
pysdd/iterator.py
|
|
21
|
+
pysdd/sdd.c
|
|
22
|
+
pysdd/sdd.dll
|
|
23
|
+
pysdd/sdd.pyx
|
|
24
|
+
pysdd/sddapi_c.pxd
|
|
25
|
+
pysdd/util.py
|
|
26
|
+
pysdd/wmcstochastic.py
|
|
27
|
+
pysdd/lib/libsdd-2.0/sddapi.h
|
|
28
|
+
pysdd/lib/libsdd-2.0/include/iterators.h
|
|
29
|
+
pysdd/lib/libsdd-2.0/include/macros.h
|
|
30
|
+
pysdd/lib/libsdd-2.0/include/parameters.h
|
|
31
|
+
pysdd/lib/libsdd-2.0/include/sdd.h
|
|
32
|
+
pysdd/lib/libsdd-2.0/include/stacks.h
|
|
33
|
+
pysdd/lib/libsdd-2.0/src/util.c
|
|
34
|
+
pysdd/lib/libsdd-2.0/src/verify.c
|
|
35
|
+
pysdd/lib/libsdd-2.0/src/version.c
|
|
36
|
+
pysdd/lib/libsdd-2.0/src/basic/computed.c
|
|
37
|
+
pysdd/lib/libsdd-2.0/src/basic/count_and_size.c
|
|
38
|
+
pysdd/lib/libsdd-2.0/src/basic/gc.c
|
|
39
|
+
pysdd/lib/libsdd-2.0/src/basic/hash.c
|
|
40
|
+
pysdd/lib/libsdd-2.0/src/basic/memory.c
|
|
41
|
+
pysdd/lib/libsdd-2.0/src/basic/multiply.c
|
|
42
|
+
pysdd/lib/libsdd-2.0/src/basic/nodes.c
|
|
43
|
+
pysdd/lib/libsdd-2.0/src/basic/partitions.c
|
|
44
|
+
pysdd/lib/libsdd-2.0/src/basic/references.c
|
|
45
|
+
pysdd/lib/libsdd-2.0/src/basic/replace.c
|
|
46
|
+
pysdd/lib/libsdd-2.0/src/basic/shadows.c
|
|
47
|
+
pysdd/lib/libsdd-2.0/src/basic/sort.c
|
|
48
|
+
pysdd/lib/libsdd-2.0/src/fnf/io.c
|
|
49
|
+
pysdd/lib/libsdd-2.0/src/manager/copy.c
|
|
50
|
+
pysdd/lib/libsdd-2.0/src/manager/interface.c
|
|
51
|
+
pysdd/lib/libsdd-2.0/src/manager/manager.c
|
|
52
|
+
pysdd/lib/libsdd-2.0/src/manager/stats.c
|
|
53
|
+
pysdd/lib/libsdd-2.0/src/manager/variables.c
|
|
54
|
+
pysdd/lib/libsdd-2.0/src/sdds/apply.c
|
|
55
|
+
pysdd/lib/libsdd-2.0/src/sdds/bits.c
|
|
56
|
+
pysdd/lib/libsdd-2.0/src/sdds/cardinality.c
|
|
57
|
+
pysdd/lib/libsdd-2.0/src/sdds/condition.c
|
|
58
|
+
pysdd/lib/libsdd-2.0/src/sdds/copy.c
|
|
59
|
+
pysdd/lib/libsdd-2.0/src/sdds/count.c
|
|
60
|
+
pysdd/lib/libsdd-2.0/src/sdds/essential_vars.c
|
|
61
|
+
pysdd/lib/libsdd-2.0/src/sdds/exists.c
|
|
62
|
+
pysdd/lib/libsdd-2.0/src/sdds/exists_multiple.c
|
|
63
|
+
pysdd/lib/libsdd-2.0/src/sdds/exists_multiple_static.c
|
|
64
|
+
pysdd/lib/libsdd-2.0/src/sdds/forall.c
|
|
65
|
+
pysdd/lib/libsdd-2.0/src/sdds/io.c
|
|
66
|
+
pysdd/lib/libsdd-2.0/src/sdds/model_count.c
|
|
67
|
+
pysdd/lib/libsdd-2.0/src/sdds/rename_vars.c
|
|
68
|
+
pysdd/lib/libsdd-2.0/src/sdds/size.c
|
|
69
|
+
pysdd/lib/libsdd-2.0/src/sdds/wmc.c
|
|
70
|
+
pysdd/lib/libsdd-2.0/src/vtree_fragments/construction.c
|
|
71
|
+
pysdd/lib/libsdd-2.0/src/vtree_fragments/moves.c
|
|
72
|
+
pysdd/lib/libsdd-2.0/src/vtree_fragments/operations.c
|
|
73
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/cartesian_product.c
|
|
74
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/dissect.c
|
|
75
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/limits.c
|
|
76
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/op_left_rotate.c
|
|
77
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/op_right_rotate.c
|
|
78
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/op_swap.c
|
|
79
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/rollback.c
|
|
80
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/split.c
|
|
81
|
+
pysdd/lib/libsdd-2.0/src/vtree_operations/vtree_ops.h
|
|
82
|
+
pysdd/lib/libsdd-2.0/src/vtree_search/auto.c
|
|
83
|
+
pysdd/lib/libsdd-2.0/src/vtree_search/search.c
|
|
84
|
+
pysdd/lib/libsdd-2.0/src/vtree_search/state.c
|
|
85
|
+
pysdd/lib/libsdd-2.0/src/vtrees/compare.c
|
|
86
|
+
pysdd/lib/libsdd-2.0/src/vtrees/edit.c
|
|
87
|
+
pysdd/lib/libsdd-2.0/src/vtrees/io.c
|
|
88
|
+
pysdd/lib/libsdd-2.0/src/vtrees/maps.c
|
|
89
|
+
pysdd/lib/libsdd-2.0/src/vtrees/moves.c
|
|
90
|
+
pysdd/lib/libsdd-2.0/src/vtrees/static.c
|
|
91
|
+
pysdd/lib/libsdd-2.0/src/vtrees/vtree.c
|
|
92
|
+
pysdd/lib/sdd-2.0/include/compiler.h
|
|
93
|
+
pysdd/lib/sdd-2.0/include/fnf.h
|
|
94
|
+
pysdd/lib/sdd-2.0/include/io.h
|
|
95
|
+
pysdd/lib/sdd-2.0/include/sddapi.h
|
|
96
|
+
pysdd/lib/sdd-2.0/lib/Darwin/libsdd.a
|
|
97
|
+
pysdd/lib/sdd-2.0/lib/Darwin-arm/libsdd.a
|
|
98
|
+
pysdd/lib/sdd-2.0/lib/Linux/libsdd.a
|
|
99
|
+
pysdd/lib/sdd-2.0/lib/Linux/libsdd.so
|
|
100
|
+
pysdd/lib/sdd-2.0/lib/Windows/sdd.dll
|
|
101
|
+
pysdd/lib/sdd-2.0/lib/Windows/sdd.lib
|
|
102
|
+
pysdd/lib/sdd-2.0/src/getopt.c
|
|
103
|
+
pysdd/lib/sdd-2.0/src/main.c
|
|
104
|
+
pysdd/lib/sdd-2.0/src/fnf/compiler.c
|
|
105
|
+
pysdd/lib/sdd-2.0/src/fnf/fnf.c
|
|
106
|
+
pysdd/lib/sdd-2.0/src/fnf/io.c
|
|
107
|
+
pysdd/lib/sdd-2.0/src/fnf/utils.c
|
|
108
|
+
pysdd/lib/sdd_extra/include/sddapi_extra.h
|
|
109
|
+
tests/test_iterator.py
|
|
110
|
+
tests/test_minimize.py
|
|
111
|
+
tests/test_nnf.py
|
|
112
|
+
tests/test_psdd.py
|
|
113
|
+
tests/test_util.py
|
|
114
|
+
tests/test_vtree.py
|
|
115
|
+
tests/test_wmcstochastic.py
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
__version__ = "0.2.12"
|
|
@@ -33,7 +33,7 @@ def main(argv=None):
|
|
|
33
33
|
elif options.dnf_filename is not None:
|
|
34
34
|
print("reading dnf...")
|
|
35
35
|
fnf = Fnf.from_dnf_file(bytes(options.dnf_filename))
|
|
36
|
-
weights = read_weights(options.
|
|
36
|
+
weights = read_weights(options.dnf_filename)
|
|
37
37
|
|
|
38
38
|
if options.vtree_filename is not None:
|
|
39
39
|
print("reading initial vtree...")
|
|
@@ -6,7 +6,7 @@ __license__ = "APL"
|
|
|
6
6
|
|
|
7
7
|
"""
|
|
8
8
|
|
|
9
|
-
cimport sddapi_c
|
|
9
|
+
from . cimport sddapi_c
|
|
10
10
|
|
|
11
11
|
cdef extern from "compiler.h":
|
|
12
12
|
ctypedef struct SddCompilerOptions:
|
|
@@ -29,7 +29,7 @@ cdef extern from "compiler.h":
|
|
|
29
29
|
int post_search # post-compilation search
|
|
30
30
|
int verbose # print manager
|
|
31
31
|
ctypedef struct Fnf:
|
|
32
|
-
long var_count;
|
|
32
|
+
long long var_count;
|
|
33
33
|
sddapi_c.SddSize litset_count;
|
|
34
34
|
ctypedef Fnf Cnf;
|
|
35
35
|
ctypedef Fnf Dnf;
|
|
@@ -7,8 +7,8 @@ pysdd.fnf_c
|
|
|
7
7
|
:copyright: Copyright 2017-2018 KU Leuven and Regents of the University of California.
|
|
8
8
|
:license: Apache License, Version 2.0, see LICENSE for details.
|
|
9
9
|
"""
|
|
10
|
-
cimport sddapi_c
|
|
11
|
-
cimport compiler_c
|
|
10
|
+
from . cimport sddapi_c
|
|
11
|
+
from . cimport compiler_c
|
|
12
12
|
|
|
13
13
|
cdef extern from "fnf.h":
|
|
14
14
|
void free_fnf(compiler_c.Fnf* fnf)
|
|
@@ -7,8 +7,8 @@ pysdd.io_c
|
|
|
7
7
|
:copyright: Copyright 2017-2018 KU Leuven and Regents of the University of California.
|
|
8
8
|
:license: Apache License, Version 2.0, see LICENSE for details.
|
|
9
9
|
"""
|
|
10
|
-
cimport sddapi_c
|
|
11
|
-
cimport compiler_c
|
|
10
|
+
from . cimport sddapi_c
|
|
11
|
+
from . cimport compiler_c
|
|
12
12
|
|
|
13
13
|
cdef extern from "io.h":
|
|
14
14
|
compiler_c.Fnf* read_fnf(const char* filename);
|
|
@@ -26,6 +26,7 @@
|
|
|
26
26
|
#define ERR_MSG_FRG_N "\nerror in %s: fragment cannot be moved to the next state while in goto mode\n"
|
|
27
27
|
#define ERR_MSG_FRG_G "\nerror in %s: fragment cannot by moved to the given state while in next mode\n"
|
|
28
28
|
#define ERR_MSG_FRG_R "\nerror in %s: fragment cannot be rewinded while in goto mode\n"
|
|
29
|
+
#define FULL_DEBUG FALSE
|
|
29
30
|
|
|
30
31
|
//if condition C is met, print error message M that materialized in function F
|
|
31
32
|
#define CHECK_ERROR(C,M,F) if(C) { fprintf(stderr,M,F); exit(1); }
|