A simple literal implementation of Variable Elimination, for inspection, test and teaching tool purpose. A first implementation (for test porpouse only) is avaiable in here
jhonatanoliveira/variable-elimination-workbench
Learning and inspection tool for running the algebra of Variable Elimination
JavaScript