A Hop Matrix Recovery Method Based on Adjacency Matrix Construction
A technology of adjacency matrix and matrix recovery, which is applied to services based on specific environments, wireless communications, electrical components, etc., can solve the problem of poor recovery of missing values in the hop matrix, and achieve easy and strong adaptability to restore the hop matrix sexual effect
- Summary
- Abstract
- Description
- Claims
- Application Information
AI Technical Summary
Problems solved by technology
Method used
Image
Examples
Embodiment 1
[0050] like figure 1 As shown, a hop number matrix recovery method based on adjacency matrix construction, the method includes the steps as follows:
[0051] S1: The hop count matrix obtained due to an incomplete flooding process or an attack by a malicious node contains missing items;
[0052] S2: If the hop count matrix , the symmetric positions of the missing hops are observed, and they are filled using the symmetric position hops;
[0053] S3: Pass the missing hop count matrix Infer the connectivity between different pairs of nodes, resulting in an adjacency matrix A=[a ij ] n×n , i=1,...,n; j=1,...,n;
[0054] S4: use the shortest path algorithm to process the adjacency matrix obtained in step S3 to obtain a preliminary hop number matrix;
[0055] S5: Traverse the initially obtained hop number matrix, and use the hop number completed by the neighbor to replace the position without the hop number value, so as to restore the complete hop number matrix.
[0056] I...
Embodiment 2
[0111] A computer system, comprising a memory, a processor and a computer program stored on the memory and running on the processor, when the processor executes the computer program, the method steps implemented are as follows:
[0112] S1: Obtain the missing hop count matrix through the flooding process
[0113] S2: If the hop count matrix , the symmetric positions of the missing hops are observed, and they are filled using the symmetric position hops;
[0114] S3: Pass the missing hop count matrix Infer the connectivity between different pairs of nodes, resulting in an adjacency matrix A=[a ij ] n×n , i=1,...,n; j=1,...,n;
[0115] S4: use the shortest path algorithm to process the adjacency matrix obtained in step S3 to obtain a preliminary hop number matrix;
[0116] S5: Traverse the initially obtained hop number matrix, and use the hop number completed by the neighbor to replace the position without the hop number value, so as to restore the complete hop number m...
Embodiment 3
[0118] A computer-readable storage medium on which a computer program is stored, and when the computer program is executed by a processor, the method steps implemented are as follows:
[0119] S1: Obtain the missing hop count matrix through the flooding process
[0120] S2: If the hop count matrix , the symmetric positions of the missing hops are observed, and they are filled using the symmetric position hops;
[0121] S3: Pass the missing hop count matrix Infer the connectivity between different pairs of nodes, resulting in an adjacency matrix A=[a ij ] n×n , i=1,...,n; j=1,...,n;
[0122] S4: use the shortest path algorithm to process the adjacency matrix obtained in step S3 to obtain a preliminary hop number matrix;
[0123] S5: Traverse the initially obtained hop number matrix, and use the hop number completed by the neighbor to replace the position without the hop number value, so as to restore the complete hop number matrix.
PUM
Login to View More Abstract
Description
Claims
Application Information
Login to View More 


