AIMA.Core.Logic.FOL.CNFConstructor.visitNotSentence C# (CSharp) Метод

visitNotSentence() публичный Метод

public visitNotSentence ( NotSentence sentence, Object arg ) : Object
sentence AIMA.Core.Logic.FOL.Parsing.AST.NotSentence
arg Object
Результат Object
        public Object visitNotSentence(NotSentence sentence, Object arg)
        {
            ArgData ad = (ArgData)arg;
            // Indicate that the enclosed predicate is negated
            ad.negated = true;
            sentence.getNegated().accept(this, arg);
            ad.negated = false;

            return sentence;
        }