MCPcopy Create free account
hub / github.com/TheAlgorithms/C-Plus-Plus / addition_rule_dependent

Function addition_rule_dependent

probability/addition_rule.cpp:25–27  ·  view source on GitHub ↗

Calculates the probability of the events A or B for dependent events * note that if value of B_given_A is unknown, use chainrule to find it * \parama [in] A probability of event A * \parama [in] B probability of event B * \parama [in] B_given_A probability of event B condition A * \returns probability of A and B */

Source from the content-addressed store, hash-verified

source not stored for this graph (policy: none)

Callers 1

mainFunction · 0.85

Calls

no outgoing calls

Tested by

no test coverage detected