View full-text article in PMC Sensors (Basel). 2022 Sep 15;22(18):6980. doi: 10.3390/s22186980 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2022 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 2 get_related_rows Input:source_node, input_data, max_tOutput: related_rows 1:min_time←source_node.t 2:max_time←min_time−max_t 3:related_rows←[] 4:for all row∈input_data do 5: if row.s_id≠source_node.s_id then 6: if min_time≤row.t≤max_time then 7: related_rows.append(row) 8: end if 9: end if 10:end for 11:return related_rows