radius = n, bmu (x, y),
right_border_x = bmu_x;
left_border_x = bmu_x;
right_border_y = bmu_y + 2*n;
left_border_y = bmu_y − 2*n;
Up_right_border_x = bmu_x − n;
Up_right_border_y = bmu_y + n;
Bottom_right_border_x = bmu_x + n;
Bottom_right_border_y = bmu_y + n;
Up_left_border_x = bmu_x – n;
Up_left_border_y = bmu_y − n;
Bottom_left_border_x = bmu_x + n;
Bottom_left_border_y = bmu_y − n;
Algorithm 1: Algorithm for improved hexagonal lattice area.