View full-text article in PMC Sensors (Basel). 2016 Feb 26;16(3):297. doi: 10.3390/s16030297 Search in PMC Search in PubMed View in NLM Catalog Add to search Copyright and License information © 2016 by the authors; licensee MDPI, Basel, Switzerland. This article is an open access article distributed under the terms and conditions of the Creative Commons by Attribution (CC-BY) license (http://creativecommons.org/licenses/by/4.0/). PMC Copyright notice Algorithm 3 Local search phase. 1:procedure LocalSearch(G(L(Ri)), Φ ) 2: E= Setofedgesin G(L(Ri)) 3: K={(nv,nu,nw)∣nv,nu,nw∈L(Ri),(nv,nu)∈E,nw∈Φ, and nv and nu areadjacenttoallnodesin Φ except nw, EPA(Φ⋃{nu,nv}\{nw})>EPA(Φ)} 4: while |K|>0 do 5: Select (nv,nu,nw)∈K 6: Φ=Φ⋃{nu,nv}\{nw} 7: K={(nv,nu,nw)∣nv,nu,nw∈L(Ri),(nv,nu)∈E,nw∈Φ, and nv and nu areadjacenttoallnodesinΦ except nw, EPA(Φ⋃{nu,nv}\{nw})>EPA(Φ)} 8: endwhile 9:endprocedure