AIMA.Core.Logic.Propositional.Parsing.Ast.BinarySentence.getFirst C# (CSharp) Method

getFirst() public method

public getFirst ( ) : Sentence
return Sentence
        public Sentence getFirst()
        {
            return first;
        }

Usage Example

Example #1
0
 private Sentence transformBiConditionalSentence(BinarySentence bs)
 {
     Sentence first = new BinarySentence("=>", (Sentence)bs.getFirst()
             .accept(this, null), (Sentence)bs.getSecond().accept(this,
             null));
     Sentence second = new BinarySentence("=>", (Sentence)bs.getSecond()
             .accept(this, null), (Sentence)bs.getFirst()
             .accept(this, null));
     return new BinarySentence("AND", first, second);
 }
All Usage Examples Of AIMA.Core.Logic.Propositional.Parsing.Ast.BinarySentence::getFirst