| 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) ∈ IntraCDGi ∧ CKPj ∉ Pi) 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 |