View full-text article in PMC Sensors (Basel). 2021 Sep 22;21(19):6325. doi: 10.3390/s21196325 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2021 by the authors. Licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons Attribution (CC BY) license (https://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1: GN block without global variables [6]. functionGraphNetwork (E, V) for k∈{1…Ne} do ek′←ϕeek,vrk,vsk ▹ 1. Compute updated edges end for for i∈{1…Nn} do let Ei′=ek′,rk,skrk=i,k=1:Ne e¯i′←ρe→vEi′ ▹ 2. Aggregate edges per node vi′←ϕve¯i′,vi, ▹ 3. Compute updated nodes end for let V′=v′i=1:Nv let E′=ek′,rk,skk=1:Ne return (E′,V′) end function