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

state assignment in bnb_sysFun.m #13

Closed dynaryu closed 1 year ago

dynaryu commented 1 year ago

I've changed the type of arc from integer to string: 1 -> '1' in the input for the test_bnb.m (or demo_bnb.py) The first error occurs in assigning state at line 26 in bnb_sysFun.m. I understand that state 1 represent the shortest, 2 for not the shortest, but still connected, and 3 for disconnected. I'd like you to come up with some idea, which can be applicable not limited to this specific problem. Any idea?