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
from problog.program import SimpleProgram
from problog.logic import Constant,Var,Term,AnnotatedDisjunction
coin,heads,tails,win,query = Term('coin'),Term('heads'),Term('tails'),Term('win'),Term('query')
C = Var('C')
p = SimpleProgram()
p += coin(Constant('c1'))
p += coin(Constant('c2'))
p += AnnotatedDisjunction([heads(C,p=0.4), tails(C,p=0.6)], coin(C))
p += (win << heads(C))
p += query(win)
get_evaluatable().create_from(p).evaluate()
```
The text was updated successfully, but these errors were encountered:
The line
from problog import get_evaluatable
is missing from this code block the Problog As Datastructure PageThe text was updated successfully, but these errors were encountered: