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

getOperator() public method

public getOperator ( ) : String
return String
        public String getOperator()
        {
            return op;
        }

Usage Example

コード例 #1
0
 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::getOperator