mirror of
https://git.cs.ou.nl/joshua.moerman/mealy-decompose.git
synced 2025-04-30 02:07:44 +02:00
klein beetje opschonen
This commit is contained in:
parent
9ca572ca74
commit
158e5d96cf
1 changed files with 4 additions and 9 deletions
|
@ -2,6 +2,10 @@ from pysat.examples.fm import FM
|
||||||
from pysat.formula import IDPool
|
from pysat.formula import IDPool
|
||||||
from pysat.formula import WCNF
|
from pysat.formula import WCNF
|
||||||
|
|
||||||
|
### Gebruik:
|
||||||
|
# Stap 1: pip install python-sat
|
||||||
|
# Stap 2: python3 decomp-sat.py
|
||||||
|
|
||||||
# TODO: Een L* tabel introduceren, en het aantal representanten van de rijen
|
# TODO: Een L* tabel introduceren, en het aantal representanten van de rijen
|
||||||
# minimaliseren, ipv representanten an sich.
|
# minimaliseren, ipv representanten an sich.
|
||||||
|
|
||||||
|
@ -128,12 +132,3 @@ with FM(wcnf) as fm:
|
||||||
|
|
||||||
# count moet gelijk zijn aan cost
|
# count moet gelijk zijn aan cost
|
||||||
print(f'total size = {count}')
|
print(f'total size = {count}')
|
||||||
|
|
||||||
|
|
||||||
# with RC2(cnf) as rc2:
|
|
||||||
# for m in rc2.enumerate():
|
|
||||||
# print('model {0} has cost {1}'.format(m, rc2.cost))
|
|
||||||
|
|
||||||
# with FM(cnf) as fm:
|
|
||||||
# m = fm.compute()
|
|
||||||
# print('model {0} has cost {1}'.format(fm.model, fm.cost))
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue