1
Specifications for Online Tool: The user will need to input the dimensions of his room. The tool then calculates how many tiles of which size are needed. The room can have niches or cut out corners as well as up to 2 areas in the center, which won’t be filled with tiles. Only right angles are possible There will be 4 standard-sized tiles and 1 marginal-sized tile. The dimensions are (in cm) o 100 X 50 o 50 X 50 o 25 X 50 o 25 X 25 o 12.5 X 100 (marginal tile) Only marginal-sized tile can be cut and standard-sized tile cannot be cut. When deriving the logic, we need to fill the room with as many largest tiles as possible, then the next size (smaller than the 1st) and so on. The remaining space will be filled with marginal tiles. Marginal tiles can’t be used for more than 12.5 MM area in a single stretch and if the area is larger than that, we will need to divide it in two parts in different sides of the room The marginal tiles should be aligned along one side of the room in one stretch rather than alternating them from side to side The layout can start with top-left corner and go horizontally across or vertical down depending on the room dimensions. If its more wide than horizontal and if length is greater than width, than vertical down. The tiles can't be placed one below the other. They have to be offset always, so that there is no gap that looks like a cross. So if a room is 5 by 5 meters, the first row would be 1m - 1m - 1m - 1m - 1m, the 2nd row 0.5m - 1m - 1m - 1m - 1m - 0.5m, the 3rd again like first, 4th like 2nd.

Specifications for Algorithm

Embed Size (px)

DESCRIPTION

Specifications for Algorithm

Citation preview

Page 1: Specifications for Algorithm

Specifications for Online Tool:

The user will need to input the dimensions of his room. The tool then calculates how many tiles of which size are needed. The room can have niches or cut out corners as well as up to 2 areas in the center,

which won’t be filled with tiles. Only right angles are possible There will be 4 standard-sized tiles and 1 marginal-sized tile. The dimensions are (in

cm)o 100 X 50  o 50 X 50        o 25 X 50        o 25 X 25  o 12.5 X 100 (marginal tile)

Only marginal-sized tile can be cut and standard-sized tile cannot be cut. When deriving the logic, we need to fill the room with as many largest tiles as

possible, then the next size (smaller than the 1st) and so on. The remaining space will be filled with marginal tiles.

Marginal tiles can’t be used for more than 12.5 MM area in a single stretch and if the area is larger than that, we will need to divide it in two parts in different sides of the room

The marginal tiles should be aligned along one side of the room in one stretch rather than alternating them from side to side

The layout can start with top-left corner and go horizontally across or vertical down depending on the room dimensions. If its more wide than horizontal and if length is greater than width, than vertical down.

The tiles can't be placed one below the other. They have to be offset always, so that there is no gap that looks like a cross. So if a room is 5 by 5 meters, the first row would be 1m - 1m - 1m - 1m - 1m, the 2nd row 0.5m - 1m - 1m - 1m - 1m - 0.5m, the 3rd again like first, 4th like 2nd.