View full-text article in PMC Sensors (Basel). 2019 Dec 4;19(24):0. doi: 10.3390/s19245342 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2019 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 (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 1 getTWMAroundEdge(Θ,incident(name,lat,long),Πlin(k1,k2))→μk,mx Require: [incident(name,lat,long)],Θ,Πlin(k1,k2), 1:ϵi,j←readNetworkMap(Θ) 2:ϵi,jincident←locateIncidentEdges([incident(name,lat,long)],Θ) 3:for all ϵk∈ϵi,jincident do 4: ϵi,jTWM←getEdgesAroundRadius(ϵi,j,ϵk,Rx) 5:end for 6:for all ϵk∈ϵi,jTWM do 7: tti,j←getEdgeSpeed(ϵi,j,ϵk) 8: μk,mx(ϵk)←Πlin(tti,j,k1,k2) 9:end for