Research Article

Adaptive Fault-Tolerant Routing in 2D Mesh with Cracky Rectangular Model

Algorithm 3

The novel routing algorithm based on cracky rectangular blocks.
Input:   : node routing messages, : the node who sends messages to node .
Output:   : the node who will receive the messages.
 procedure ROUTING
if   is a good node then
   basic routing function with node
else if   is a faulty node then
   if ( is final) or then
    
   else if   and then
    
   else if     then
    
  end if
else if   is a border node then
  routing according to Table 2.
else if   is a node belongs to the border of mesh then
  if   is final then
   
  else
   
   
  end if
end if
 end procedure