Browse Prior Art Database

Method and system for an Intelligent Condition Analyzer Disclosure Number: IPCOM000202362D
Publication Date: 2010-Dec-14
Document File: 4 page(s) / 114K

Publishing Venue

The Prior Art Database


A method and system for an intelligent condition analyzer is disclosed.

This text was extracted from a PDF file.
This is the abbreviated version, containing approximately 51% of the total text.

Page 01 of 4

Method and system for an Intelligent Condition Analyzer

Disclosed is a method and system for an intelligent condition analyzer.

The method and system disclosed herein provides a concrete solution for analyzing an 'if' statement involving large number of conditions. Typically, each condition consists of a left operand compared with a right operand using relational operators. The relational operators are used to evaluate the condition i.e. to judge the condition to be true or false. Many such conditions combined with logical operators form the overall 'if' condition, which eventually can be either true or false. In accordance with the method and system disclosed herein, changes performed on one or more of the conditions are automatically subjected to an impact analysis. As a result, any invalid set of conditions are identified making the analysis more accurate and time efficient.

In order to determine invalid conditions, the method and system breaks down each of the given condition into simplest individual conditions, which are referred to as symbols. Each symbol may have a value 1 for true or value 0 for false. A common symbol table containing unique symbols is created for each condition. Thereafter, relationships between the symbols are established to eliminate invalid scenarios. For example, if x==2 and x==3 are two symbols, a relationship is established between the two symbols that symbol 1 and symbol 2 cannot be true at the same time, i.e. sym1=1 and sym2=1 is an invalid scenario. Establishing relationships between the symbols eliminates any invalid scenarios, during the analysis. If this step does not establish any relationships between the symbols, it means that no invalid scenarios are found. Subsequently, all possible combinations of inputs based on the number of symbols, excluding the invalid scenarios, are generated.

In order to evaluate the 'if' condition, all valid input combinations are applied to determine the result of each of the conditions separately. The results of the individual conditions may then be compared to generate required analysis report.

Figure 1 is a flow chart representation of the method disclosed. As shown in the figure, the method initiates by taking the existing input condition and the changed input condition. The method then, creates a common symbol table by parsing through both the inputs. As shown in Figure 2, after establishing relationships for each symbol, multiple input combinations are generated. In cases where an input is valid, the existing input condition and the changed input condition are evaluated and stored as a result. On the other hand, in case an input is invalid, a next input combination is generated. Finally, when all the possible combinations have been generated, the method compares the already stored results of the existing input condition and the changed input condition and generates the analysis report.


Page 02 of 4

(This page contains 00 pictures or other non-text objec...