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 4 forks source link

replicate demo_bnb #12

Closed dynaryu closed 1 year ago

dynaryu commented 1 year ago

Had some difficulties in replicating the functions due to the difference between Matlab and Python in terms of indexing. For instance, in line 40 od_var_id = 7 in matlab, but cpms is a list in python, so 6 was used instead.