Skip to main content
. 2017 Sep 21;17(10):2166. doi: 10.3390/s17102166
Algorithm 1 DC_Elimination( )
if (∃Edge(CKPi, DCx) ∈ IntraCDGi) then
 DELETE(DCx);
 REPLACE_IntraCDGnodes(CKPi, DCx); // CKPi replaces DCx
 NOTICE_IntraCDGchange(CKPi, DCx);
 //Notice processes the replacement of CKPi for DCx
else
if (∃Edge(DCx, CKPi) ∈ IntraCDGi) then
if (∃Edge(CKPj, DCx) ∈ IntraCDGiCKPjPi) then
 TurnDCtoSC(DCx, SCk); // Turn DCx to SCk
 NOTICE_CKPturn(DCx, SCk);
 //Notice processes in same cluster of turning of DCx
else
 DELETE(DCx);
 NOTICE_delete(DCx);
 //Notice processes in same cluster of the elimination of DCx
 //Notice processes in same cluster of the elimination of DCx