Sie sind auf Seite 1von 14

Optimizing The Positioning Of Garbage Bins Using The Domination In Graphs

Theory

Excel Map:

Figure 1 Excel Map Version of Map 1


Map 2

Actual Map

Excel Form:

Since it has an irregular grid there is no formula to find out the minimum number

of vertices that must be placed to fully dominate the grid or graph.


Figure 2 Excel Map Version of Map 2

Map 3

Actual Map

Excel Format:
Figure 3 Excel Map Version of Map 3
Parts of the excel format:
2 6
7

3 4
1

Figure 4 overview of the excel program

I. Domination Grid

This is where the user interacts with the excel program (figure 8). It does not have any

formulas within this grid .However, when an all caps D is written on one of the boxes,

certain actions may occur within the program. This is also a representation of a

domination grid.
Figure 5 Domination grid has no formulas within its cells

The domination grid is a mirror of areas 2 and 3(Figure 9) . This means that if a D

is entered on cell E55(the upper right most cell on the domination grid), there would be a

change on areas 1(specifically E8) and 2(specifically E33). Other cells that change aside

from those that are mentioned are by-products of other formulas triggered by the change

in those cells. If any value is entered on the domination grid aside from “D”, there will be

no effect.

Figure 6 Domination Grid is a mirror of areas 2 and 3


II. Proposed Areas For The Garbage Bins

This are can be interacted

through the Domination Grid.

This indicates the areas that

can be the possible areas

where the garbage bins will

be located. When nothing is

entered on the Domination

Grid every highlighted cell in

this area becomes a “D”


Figure 7 Effect when a D is placed on the
Figure 8 When nothing is entered on (Figure 11).. This means that domination grid
the domination gid every cell has a
value of "D"
any of these areas can be a possible garbage bin

location.

However, when a D is entered onthe mirror of that cell on the grid, it becomes a

permanent “D”. It also makes other cells (that becomes an edge of that new vertex)

contain a zero value (Figure 10).


The Formula used in

this area is to find all of the

possible vertices in the grid

that would make a certain

cell its edge. Next, find

those cells’ mirror from the

domination grid and use

those mirrors’ location in

the formula box(Figure 12).

For example:

For cell E5, the possible

vertices that can make this

cell an edge are cells are

H5 and E22. The mirror of

those two cells in the

Domination Grid are cells


Figure 9 Formula used for Proposed Areas for the Garbage Binsa Graph

F55 and E56. If this was

the case it is necessary to type F55 and E56 instead of H5 and E22. Then an IF

function is applied like the one on the right. The format of the IF function goes for all

other cells in the Proposed Areas For The Garbage Bins area.
III. IntersectingVertices Graph

This indicates the current situation of the graph or if there are any overlapping vertices

between vertices. If no value is entered on the Domination Grid all the cells with values

on the Intersecting Vertices Graph would contain a 0 value. This means that these areas

need to have a vertex or a garbage bin for it to be dominated.

If a D was placed on the upper right most Domination Grid, cells Q33, N33, and Q47

would have the value 1. This means that these areas are already dominated by a vertex

and that a garbage bin is close by.

If a D was placed on the upper and lower left most areas of the Domination Grid, cells

H33 and E47 would contain a red highlighted 2. This means that these two vertices have

two vertices that are overlapping. These situations must be avoided as much as possible

(Figure 13).
Figure 10 Intersecting Vertices Graph

Formula used:

Figure 11 Formula Used


First of all it is needed to find all the possible locations of the “D”s will be placed on

the Domination grid, that would make a cell a vertex or an edge. An example of this is

that for the first box on the upper left most box on the Calculation For The Dominated

Boxes (which is a mirror of the upper left most box on the Domination Grid) the cell

address entered was E55. This means that if a garbage bin was placed on E55, one cell

is already dominated by that bin.

IV. Number Of Overlapping Vertices Box

This box is based on the Intersecting Vertices Graph. It indicates the number of

overlapping vertices dominated by a bin. The number showed on this box is based on

the number of cells that contain cells with values equal to or greater than 2.

Figure 12 Number of Overlapping Vertices Box

The formula used is an If function that writes 1 if a cell contains a value equal to or

greater than 2.
Figure 13 Formula Used For Area 4

V. Number OfNon-dominatedVerticesBox

This is also related to the Intersecting Vertices Graph. It indicates the numberof

areas that are not vertices of any vertex. This also means that there is no accessible

garbage bin nearby. It counts the number of 0s in the Intersecting Vertices Graph.

Figure 14 Intersecting Vertices Graph


The formula used is to make a separate grid that uses an IF function that places 1

if the value of a certain cell is 0, if not it writes 0.

Figure 15 Formula Used for Area 5

VI. Maximum Number Of Dominations Box

This indicates the minimum number of bins that can be used in the grid in order for

the entire grid to be dominated. It is also the maximum number of bins that the user

can use since the goal is to look for the least number of bins that can dominate the

entire grid. The formula used to find the domination number can be found on the

Review of Related Literature.

VII. The Number Of Dominations That Must be Placed Left Box

This counts the number of “D”s that you can be written on the grid remaining

without exceeding the value on the Maximum Number Of Dominations Box.


The formulaused is to subtract the value of the cell of the Maximum Number of

Dominations Box with the number of “D”s in the Domination Grid.

Figure 16 Formula Used For Area 7

Das könnte Ihnen auch gefallen