troeger / fuzzed

The Open Reliability Editor (ORE) for dependability modeling and analysis.
https://live.ore-project.org
21 stars 9 forks source link

Set MTTF only if it is meaningful (i.e., not for models containing PAND gates) #46

Open laena opened 10 years ago

laena commented 10 years ago

If a model contains a PAND gate some simulation rounds are bound to never fail, which leads to "infinity" as failure time in some cases, and the mean is only well-defined over numbers not containing "infinity".

The MTTF should be something like NaN if a PAND gate is present.