AIMA.Core.Logic.Propositional.Visitors.CNFTransformer.transformBiConditionalSentence C# (CSharp) 메소드

transformBiConditionalSentence() 개인적인 메소드

private transformBiConditionalSentence ( BinarySentence bs ) : Sentence
bs AIMA.Core.Logic.Propositional.Parsing.Ast.BinarySentence
리턴 AIMA.Core.Logic.Propositional.Parsing.Ast.Sentence
        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);
        }