HomeComputer ScienceCertainty Factor Propagation in Expert Systems

Certainty Factor Propagation (2D)

MYCIN-style certainty-factor propagation for a rule-based expert system, in 2D: set uncertain evidence, combine antecedents with AND/OR, and watch CF values propagate through a rule-network diagram with a live step-by-step trace.

Computer Science2DModerate60 FPS📱 Mobile-adapted⇄ 3D version
2d-expert-systems-computer-science ↗ Open standalone

Rule-based expert systems like MYCIN never assumed evidence was certain — instead every fact and rule carried a certainty factor (CF) on a −1..+1 scale, and the inference engine had exact formulas for combining them: minimum for AND, maximum for OR, and a special non-additive rule for merging two independent lines of evidence pointing at the same hypothesis. This 2D simulator renders the same diagnostic rule network as a flat node diagram — three uncertain evidence nodes feeding two rules that both conclude the same hypothesis H — and lets you set each evidence CF and each rule's own confidence, choose whether R1's antecedent is a conjunction or disjunction, and press Propagate to watch a pulse carry each CF value along the edges while the live readouts, node colors, and a step-by-step trace show exactly which real MYCIN combination formula fired at H.

⚙ Under the hood

A MYCIN-style rule-based expert system where uncertain evidence carries a certainty factor from -1 to +1: combine antecedents with AND/OR, propagate CF values through a 2D rule-network diagram, and watch two independent rules merge into one combined diagnostic conclusion with a step-by-step formula trace.

expert systemscertainty factorMYCINuncertain reasoningrule-based AIinference

2D · HTML5 Canvas 2D · 60 FPS target · runs fully client-side, no install

What did you find?

Add reproduction steps (optional)