AIMA.Core.Logic.Propositional.Visitors.CNFClauseGatherer.processSubTerm C# (CSharp) Method

processSubTerm() private method

private processSubTerm ( Sentence s, List soFar ) : List
s AIMA.Core.Logic.Propositional.Parsing.Ast.Sentence
soFar List
return List
        private List<Sentence> processSubTerm(Sentence s, List<Sentence> soFar)
        {
            if (detector.containsEmbeddedAnd(s))
            {
                return (List<Sentence>)s.accept(this, soFar);
            }
            else
            {
                soFar.Add(s);
                return soFar;
            }
        }
    }