AIMA.Core.Logic.Propositional.Parsing.Ast.MultiSentence.getSentences C# (CSharp) Méthode

getSentences() public méthode

public getSentences ( ) : List
Résultat 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