This is probably a question for this forum's resident CUDD/BDD expert, @DCTLib, but if other have insights, welcome of course!
Consider a given minterm such as: 0--0---0--0---0----11 1 .
I need to take each minterm individually and replace "1" with P(x_i) (I'm working with probabilities of the variables), 0 with 1-P(x_i) and "-" with 1. Then I multiple the factors within a minterm, P(x_i)...(1-P(x_j)) and add them all up to obtain the probability of the top event.(A sum-product of probabilities corresponding to the minterms)
The reason I need to take them one by one is that I'm working with large files that blow-up the memory.Once I'm over 80-100 variables, you're in the TB OoM for the whole minterm textfile dump size. I wanted to take each minterm, add it to the running sum and delete it once added, if possible.
Hope this is clear, but if not, might take some iterations. Thanks,