AIMA.Core.Logic.Propositional.Parsing.Ast.MultiSentence.getSentences C# (CSharp) Method

getSentences() public method

public getSentences ( ) : List
return List
        public List<Sentence> getSentences()
        {
            return sentences;
        }

Usage Example

 public Object visitMultiSentence(MultiSentence fs, Object arg)
 {
     List<Sentence> terms = fs.getSentences();
     List<Sentence> newTerms = new List<Sentence>();
     for (int i = 0; i < terms.Count; i++)
     {
         Sentence s = (Sentence)terms[i];
         Sentence subsTerm = (Sentence)s.accept(this, arg);
         newTerms.Add(subsTerm);
     }
     return new MultiSentence(fs.getOperator(), newTerms);
 }
All Usage Examples Of AIMA.Core.Logic.Propositional.Parsing.Ast.MultiSentence::getSentences