.to_a
Return sum-of-products string
from ZDD object
.
> require 'zdd'
> a=ZDD::itemset("a")
> b=ZDD::itemset("b")
> c=ZDD::itemset("c")
> f=2*a + 2*b + 4*a*c
> f.show
4 a c + 2 a + 2 b
> s = f.to_s
> p s
"4 a c + 2 a + 2 b"
to_a : Conversion to itemset array
hashout : Output Hash