FaultTree v0.1.0 FaultTree.Analyzer View Source

Handles building a fault tree out of an array of nodes.

Link to this section Summary

Functions

Calculate the probability of failure for a given node. The node must have all of its children with defined probabilities.

Converts a FaultTree struct into a hierarchical map.

Link to this section Functions

Link to this function

probability(node, tree, pid) View Source

Calculate the probability of failure for a given node. The node must have all of its children with defined probabilities.

For TRANSFER gates, the probability is copied from the source node. If the source node was not calculated before the transfer gate is reached, the probability will be calculated twice. This will be inefficient, but mathemetically correct.

Converts a FaultTree struct into a hierarchical map.