Algorithm 1: block location setting |
1Function OPTIMAL BLOCKS{predefined workspace, selected tileset}: |
2 define {} |
3i ←1, j ←1, t ←1 |
4 for alli, i ←1, do |
5 for allj, j ←1, do |
6 location is COM of tile t: |
7 if tile t is asymmetrical tile: |
8 Locate: tile t blocks as Figure 8c |
9 else if tile t is symmetrical tile: |
10 Execute: shifting from to t
|
11 Find: blocks of tile having the similar heading with the heading after transforming |
12 Locate: tile t blocks as Figure 8a,b |
13 end
|
14 end
|
15 end
|
End Function
|