如何将对中缀的布尔查询转换为后缀表示法 [英] how to convert boolean query for infix to post-fix notation

查看:60
本文介绍了如何将对中缀的布尔查询转换为后缀表示法的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嗨;
有谁能帮我找到用C#编写的算法,以将布尔查询形式的后缀转换为像
这样的中缀表示法吗? 例子:
中缀:托尼和乔治
修复后:Tong George和
例子2:
中缀:托尼和乔治或罗纳
后修复程序:Tong George和Lona或

Hi ;
can any one help me to find the algorithm written in c# to convert boolean query form post-fix to infix notation like
example :
infix : Tony and George
post-fix : Tong George and
example 2 :
infix : Tony and George or Lona
post-fix : Tong George and Lona or

推荐答案

如果您不愿意使用Google,它就是一个很棒的工具.

http: //www.google.co.uk/search?gcx=c&sourceid=chrome&ie=UTF-8&q=convert+infix+to+postfix+c%23 [
Google is a wonderful tool, if you bother to use it.

http://www.google.co.uk/search?gcx=c&sourceid=chrome&ie=UTF-8&q=convert+infix+to+postfix+c%23[^]


这篇关于如何将对中缀的布尔查询转换为后缀表示法的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆