一种利用二叉树来实现逻辑表达式自动推导的算法
The logical expressions automated derivation arithmetic based on the binary tree
-
摘要: 探讨了如何利用二叉树来设计逻辑表达式在计算机上的逻辑结构和存储结构,以及在这种结构上如何实现逻辑表达式的基本运算,进而实现其他复杂的表达式自动推导Abstract: This article discusses a method of binary tree data structure. Based on the binary tree, the logic structure and data storage architecture is designed to express the logic expressions on computers. Accordingly, the basic operations of logical expressions are implemented on this system. Furthermore, other operations like complex expressions automated derivation system are implemented.