containsEmbeddedAnd() 공개 메소드

public containsEmbeddedAnd ( Sentence s ) : bool
s AIMA.Core.Logic.Propositional.Parsing.Ast.Sentence
리턴 bool
예제 #1
0
 //
 // PRIVATE METHODS
 //
 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);
     }
 }