APPARATUS, METHOD, AND PROGRAM FOR VISUALIZING BOOLEAN EXPRESSIONS
First Claim
1. An apparatus for visualizing a Boolean expression, the apparatus comprising:
- an input section inputting a Boolean expression to be visualized in a form of a binary tree in which a leaf node represents an operand in the Boolean expression and a node other than the leaf node represents an operator in the Boolean expression;
a transforming section transforming the binary tree into a two-dimensional nested representation composed of a plurality of regions;
a drawing section drawing a pictorial representation for visualization on the basis of the nested representation;
a storage section storing the binary tree input by the input section, the nested representation created by the transforming section, and the pictorial representation drawn by the drawing section; and
a display section visually displaying the pictorial representation.
1 Assignment
0 Petitions
Accused Products
Abstract
An apparatus, a method, and a program for visualizing a Boolean expression so that it is readily recognized what is added to or excluded from conditions. A Boolean expression to be visualized is input in the form of a binary tree in which a leaf node represents an operand in the Boolean expression and a node other than the leaf node represents an operator in the Boolean expression. The input binary tree is transformed into a two-dimensional nested representation composed of a plurality of regions, and a pictorial representation for visualization is drawn on the basis of the nested representation and is displayed. When the Boolean expression is provided in a string expression, the string expression is transformed into a binary tree.
14 Citations
16 Claims
-
1. An apparatus for visualizing a Boolean expression, the apparatus comprising:
-
an input section inputting a Boolean expression to be visualized in a form of a binary tree in which a leaf node represents an operand in the Boolean expression and a node other than the leaf node represents an operator in the Boolean expression;
a transforming section transforming the binary tree into a two-dimensional nested representation composed of a plurality of regions;
a drawing section drawing a pictorial representation for visualization on the basis of the nested representation;
a storage section storing the binary tree input by the input section, the nested representation created by the transforming section, and the pictorial representation drawn by the drawing section; and
a display section visually displaying the pictorial representation. - View Dependent Claims (2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12, 13, 14)
-
-
15. A method for visualizing a Boolean expression, the method comprising the steps of:
-
inputting a Boolean expression to be visualized in the form of a binary tree in which a leaf node represents an operand in the Boolean expression and a node other than the leaf node represents an operator in the Boolean expression and storing the binary tree;
transforming the binary tree into a two-dimensional nested representation composed of a plurality of regions and storing the two-dimensional nested representation;
drawing a pictorial representation for visualization on the basis of the nested representation and storing the pictorial representation; and
displaying the pictorial representation.
-
-
16. A program storage device storing a program for visualizing a Boolean expression, the program causing a computer to function as:
-
an input section for inputting a Boolean expression to be visualized in the form of a binary tree in which a leaf node represents an operand in the Boolean expression and a node other than the leaf node represents an operator in the Boolean expression;
a transforming section for transforming the binary tree into a two-dimensional nested representation composed of a plurality of regions;
a drawing section for drawing a pictorial representation for visualization on the basis of the nested representation;
a storage section for storing the binary tree input by the input section, the nested representation created by the transforming section, and the pictorial representation drawn by the drawing section; and
a display section for displaying the pictorial representation.
-
Specification