AIMA.Core.Probability.BayesNet.createMBValues C# (CSharp) Méthode

createMBValues() private méthode

private createMBValues ( List markovBlanket, bool>.Dictionary evt ) : bool>.Dictionary
markovBlanket List
evt bool>.Dictionary
Résultat bool>.Dictionary
        private Dictionary<String, bool> createMBValues(List<BayesNetNode> markovBlanket,
                Dictionary<String, bool> evt)
        {
            Dictionary<String, bool> table = new Dictionary<String, bool>();
            foreach (BayesNetNode node in markovBlanket)
            {
                table.Add(node.getVariable(), evt[node.getVariable()]);
            }
            return table;
        }
    }