You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Hello, this might be a documentation issue. I am a novice user (also not familiar with Python) and I was puzzled for a while trying to obtain an equisatisfiable CNF from e.g. f=Implies(Atom('x'),And('y','z')). After f.clausify(), f.clauses does not return what I expected. I did not find how to do it in the online documentation, so finally I decided to look at formula.py and found that the __iter__ method of Formula allows me to obtain the clauses I wanted as [c for c in f]. It does not appear in the documentation yet it seems documented in the code, so I presume it's an issue with the setup of the documentation generator.
The text was updated successfully, but these errors were encountered:
Hello, this might be a documentation issue. I am a novice user (also not familiar with Python) and I was puzzled for a while trying to obtain an equisatisfiable CNF from e.g.
f=Implies(Atom('x'),And('y','z'))
. Afterf.clausify()
,f.clauses
does not return what I expected. I did not find how to do it in the online documentation, so finally I decided to look atformula.py
and found that the__iter__
method ofFormula
allows me to obtain the clauses I wanted as[c for c in f]
. It does not appear in the documentation yet it seems documented in the code, so I presume it's an issue with the setup of the documentation generator.The text was updated successfully, but these errors were encountered: