Rapid computational formula loop point detecting method
A technology of calculation formulas and detection methods, applied in the computer field, can solve the problems of loops, entering an infinite loop or stack overflow, etc., to achieve the effect of improving the running speed and the correctness of the calculation.
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment Construction
[0017] The present invention will be described in detail below in conjunction with the accompanying drawings.
[0018] The analysis process of the present invention is as image 3 shown.
[0019] 1. Read the list of all calculation formulas.
[0020] 2. If the list is not empty, analyze it recursively. There are two conditions for interruption, one is that all formulas have been detected, and the other is that there are abnormal loop points in the formulas.
[0021] 3. The left side of the equal sign of all calculation formulas is marked as the left operand, and the right side is marked as the right operand. The right operand can also be a calculation formula.
[0022] 4. First put all the left operands into a list, and when recursively looping to a calculation formula, judge whether all the right operands are in the left operand list in turn, and if so, extract the formula represented by the left operand to the new calculation formula list for the next recursive use. If ...
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 