Method for acquiring process task block dependency based on matrixes
A technology of dependencies and matrices, applied in the fields of instruments, electrical digital data processing, calculations, etc., can solve problems such as time-consuming and labor-intensive, and achieve the effect of easy expression
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
specific Embodiment approach 1
[0029] Specific implementation mode one: combine figure 1 Description of the stupid implementation mode, a method for acquiring process task block dependencies based on a matrix in this implementation mode The specific process is as follows:
[0030] Step 1, input correct and incorrect test cases, the test cases include all process task blocks;
[0031] Step 2, convert the test case into a relationship matrix;
[0032] A matrix is used to store the relationship between two task blocks, and the matrix corresponds to the relationship set of each test case; in the matrix, there are three values -1, 0, 1 respectively.
[0033] "-1" is not discussed, "0" means that the execution order of the i-th task block is behind the j-th task block, and "1" means that the execution order of the i-th task block is ahead of the j-th task block; that is:
[0034] "0" indicates that the execution order of i is behind j;
[0035] "1" indicates that the execution order of i is prior to j;
...
specific Embodiment approach 2
[0056] Specific implementation mode two: the difference between this implementation mode and specific implementation mode one is: the test case is converted into a relationship matrix in the second step; the specific process is:
[0057]The relationship matrix includes correct relationship matrix, wrong relationship matrix, relationship compatibility matrix and dependency matrix;
[0058] a1 task block has A and B subtask blocks; a2 task block has C and D subtask blocks;
[0059] Among them, the correct test cases are A, B, C, D; A, C, B, D, and the wrong test cases are ACDB, CDAB;
[0060] Construct the correct relationship matrix A1, A2 according to the correct test case;
[0061] Construct error relationship matrix B1, B2 according to the error test case;
[0062] At the same time, according to two correct test cases, it is concluded that there is no sequence relationship between the two task blocks C and B, and the relationship compatibility matrix C1 is constructed;
...
specific Embodiment approach 3
[0069] Specific embodiment three: the difference between this embodiment and specific embodiment one or two is that: in the step four, the matrix subtraction operation is performed on the β correct relationship matrices and wrong relationship matrices to obtain new matrices B1' and B2', according to B1' and B2' determine that several of the correct test cases are different from the wrong test cases; the specific process is:
[0070] After converting the dependency relationship into a matrix expression, mathematical operations in set theory can be used to operate on numerous matrices to simplify the number of matrices and obtain the final required dependency matrix.
[0071] matrix subtraction
[0072] Matrix subtraction is the core part of matrix operations. According to the idea of reduction, the present invention uses the subtraction operation in set theory to subtract the wrong relationship matrix from the correct relationship matrix to obtain a new matrix;
[0073] Und...
PUM
Abstract
Description
Claims
Application Information
- R&D Engineer
- R&D Manager
- IP Professional
- Industry Leading Data Capabilities
- Powerful AI technology
- Patent DNA Extraction
Browse by: Latest US Patents, China's latest patents, Technical Efficacy Thesaurus, Application Domain, Technology Topic, Popular Technical Reports.
© 2024 PatSnap. All rights reserved.Legal|Privacy policy|Modern Slavery Act Transparency Statement|Sitemap|About US| Contact US: help@patsnap.com