Content deleted Content added
m Moving Category:Algorithms in graph theory to Category:Graph algorithms per Wikipedia:Categories for discussion/Log/2024 October 4 |
|||
(15 intermediate revisions by 7 users not shown) | |||
Line 1:
In graph theory, '''LASCNN''' is a
This algorithm can distinguish the critical nodes of the network with high precision,
==Pseudocode==
The LASCNN algorithm establishes a {{Var|k}}-hop neighbor list and a duplicate free pair wise connection list based on {{Var|k}}-hop information. If the neighbors stay connected then the node is non-critical.<ref>G. Sugithaetal., International Journal of Advanced Engineering Technology
▲<ref>G. Sugithaetal., International Journal of Advanced Engineering Technology E-ISSN 0976-3945</ref><ref>Mohammed Alnuem, Nazir Ahmad Zafar, Muhammad Imran, Sana Ullah, and Mahmoud S. Fayed. "Formal specification and validation of a localized algorithm for segregation of critical/noncritical nodes in MAHSNs." International Journal of Distributed Sensor Networks 10, no. 6 (2014): 140973</ref>
<pre>
Function LASCNN(MAHSN)
If (A->ConnList.getSize() == 1) then
A->SetNonCritical() = LEAF
Else
Continue = TRUE
While (Continue == TRUE)
Continue = FALSE
For ∀ ActiveConn ∈ ConnList
If (A∉ActiveConn) then
If (A->ConnNeighbors.getSize() == 0)
A->ConnNeighbors.add(ActiveConn)
Continue = TRUE
else
If (ActiveConn ∩ ConnNeighbors == TRUE)
ActiveConn ∪ ConnNeighbors
Continue = TRUE
Endif
Endif
Endif
End
End
If (A->ConnNeighbors.getSize() < A->Neighbors.getSize())▼
End While▼
A->SetCritical() = TRUE
Endif▼
else▼
▲ If (A->ConnNeighbors.getSize()< A->Neighbors.getSize())
A->
▲ Endif
▲ else
End Function
</pre>
==Implementation==
[[File:Critical_Nodes_Application.png|thumb|300px|Critical Nodes Application - An implementation for the LASCNN algorithm using PWCT]]
The Critical Nodes application is a Free Open-Source implementation for the LASCNN algorithm. The application was developed in 2013 using [[PWCT|Programming Without Coding Technology]] software.<ref>Fayed, Al-Qurishi, Alamri, Aldariseh (2017) PWCT: visual language for IoT and cloud computing applications and systems, ACM</ref>
==See also==
* [[
* [[
* [[
* [[
* [[
* [[
* [[
==References==
<references/>
==External links==
* [https://sourceforge.net/projects/criticalnodes/ Critical Nodes application]
[[Category:Networks]]
[[Category:Network theory]]
[[Category:Graph algorithms]]
|