Hi, I'm working on a project which needs to calculate the signal probability of a boolean function in the sum-of-product form.
In addition, the boolean function need to be implemented in Binary-Decision-Diagram. In this project, I'm using the CUDD package.
Below is the input data txt file.
ABcD+ABCD+aBcD+aBCD.
A 0.2
B 0.4
C 0.6
D 0.8
The lowercase character represents a plain variable, whereas its uppercase is for its complement. And the number is the probability.
I'm still studying the CUDD package and each function in it.
I'm wondering how to deal with the boolean function string read in to make it correspond to the function in CUDD package.
Thanks in advance!!