AIMA.Core.Logic.FOL.Inference.FOLBCAsk.cascadeSubstitutions C# (CSharp) Метод

cascadeSubstitutions() приватный Метод

private cascadeSubstitutions ( FOLKnowledgeBase KB, Term>.Dictionary theta ) : Term>.Dictionary
KB AIMA.Core.Logic.FOL.KB.FOLKnowledgeBase
theta Term>.Dictionary
Результат Term>.Dictionary
        private Dictionary<Variable, Term> cascadeSubstitutions(FOLKnowledgeBase KB,
                Dictionary<Variable, Term> theta)
        {
            foreach (Variable v in theta.Keys)
            {
                Term t = theta[v];
                theta.Add(v, KB.subst(theta, t));
            }

            return theta;
        }