AIMA.Core.Logic.FOL.Parsing.AST.QuantifiedSentence.copy C# (CSharp) Method

copy() public method

public copy ( ) : FOLNode
return FOLNode
        public FOLNode copy()
        {
            List<Variable> copyVars = new List<Variable>();
            foreach (Variable v in variables)
            {
                copyVars.Add((Variable)v.copy());
            }
            return new QuantifiedSentence(quantifier, copyVars, (Sentence)quantified.copy());
        }