Probabilities - bali-nebula/go-component-framework GitHub Wiki

Overview

A probability is a primitive element that represents a mathematical probability value in the range [0..1]. Probabilities support all of the standard logic functions.

UML Diagram

Note, the SANS operation is a simpler name for the "material nonimplication" operation which is equivalent to p AND NOT q.

A Quick Example

To whet your appetite, here is some short example code that demonstrates the behavior of probabilities.

TBD...