A power data set restoration method based on order dependence
A technology of electric power data and repair method, which is applied in the direction of electric digital data processing, special data processing application, digital data information retrieval, etc., can solve the problems of redundancy ambiguity, data incompleteness, etc. Effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
example 1
[0064] Example 1: If i=6, the s array and dp array are shown in Table 2 and Table 3.
[0065] Table 2 s array example
[0066] i
1
2
3
4
5
6
s[i]
9091
9095
9508
9093
9392
9466
[0067] Table 3 dp array example
[0068] i
1
2
3
4
5
6
dp[i]
1
2
3
2
3
[0069] The process of maintaining dp[6] is to search for data that satisfies the order dependence with s[6] from s[1] to s[5] in turn, and there are 4 that meet the requirements:
[0070] s[1]: 9091 < s[6]: 9466,
[0071] s[2]: 9095 < s[6]: 9466,
[0072] s[4]: 9093 < s[6]: 9466,
[0073] s[5]: 9392 < s[6]: 9466,
[0074] Then find the longest existing sequence length, in the example it is dp[5], then maintain dp[6] as 4, as shown in Table 4.
[0075] Table 4 Example of dp array after maintenance
[0076] i
1
2
3
4
5
6
dp[i]
1
2
3
2 ...
example 2
[0082] Example 2: If x=9366, len=6, the d array is shown in Table 5:
[0083] Table 5 d array example
[0084] Index
1
2
3
4
5
6
d[Index]
9343
9346
9352
9361
9374
9377
[0085] Since 9366 is less than d[len], it needs to be placed after the last element less than or equal to 9366, in the example it is d[4]. Then the maintained d array is shown in Table 6:
[0086] Table 6 Example of d array after maintenance
[0087] Index
1
2
3
4
5
6
d[Index]
9343
9346
9352
9361
9366
9377
[0088] The d array is easy to increase monotonically, and the binary search can be used to find the qualified position in the dynamic programming iteration, so that the total algorithm time complexity will be O(nlogn). The Find_path method of the recursive output sequence in Algorithm 1 is no longer applicable to the d array. In order to obtain the specific sequence fo...
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