jieunbyun / BNS-JT

Reference: Byun, J.-E. and Song, J. (2021). A general framework of Bayesian network for system reliability analysis using junction tree. Reliability Engineering & System Safety, 216, 107952.
MIT License
5 stars 3 forks source link

replicate the toy bridge problem using the gen_bnb algorithm #38

Open dynaryu opened 9 months ago

dynaryu commented 9 months ago

I wonder how to replicate the toy bridge problem using the gen_bnb routine. I notice that in the original toy bridge problem 3 states were defined for each arc: fail, surv, either. I wonder how to apply the gen_bnb algorithm for this case.

jieunbyun commented 9 months ago

It can be applied by setting failure as state 0 and survival as state 1 (as we now opt for zero-based index). Please let me know if you still find it unclear.

jieunbyun commented 9 months ago

Ah and we need to modify the system function to return the same types of outputs.