EP0507375A2

Method of determining free subareas and free spaces.

Abstract

Method of determining free subareas on an area partially covered with rectangular objects and also a method of determining free spaces in a space partially filled with objects in the form of a right parallelepiped, in which method an essentially rectangular area to be covered or a space to be filled is depicted in the form of a two-dimensional or three-dimensional matrix, respectively, each element of the matrix representing a rectangle on the area or a right parallelepiped in the space and it being established for each element whether the corresponding rectangle in the area or the corresponding right parallelepiped in the space is free or occupied, after which the number of rows and columns and, possibly, layers of the matrix is reduced in accordance with a fixed algorithm until the unit matrix has been reached. During the matrix reduction, a search is continuously made for matrix elements which have a first logic value and which are bounded on all sides by elements having a second logic value; such an element indicates the presence of a free space in the (reduced) matrix. A dimension table is also determined for each of the dimensions, the length of each table being linked to the number of rows, columns and, possibly layers, respectively, of the matrix. During the reduction of the matrix, the dimension tables are updated in accordance with a fixed system, with the result that, whenever a free area or a free space is found during the reduction of the matrix, the position of said area or said space can be read off from the table. <IMAGE>

Term

Term ended

Projected expiry passed 16 March 2012, 14.5 years ago.

  1. Priority
  2. Filed
  3. Published
  4. Projected expiry
  5. Today

2 claims: 2 independent, 0 dependent

  1. 1
    Method of determining free subareas on an area partially covered with essentially rectangular objects, characterised in that an essentially rectangular area to be covered having dimensions X and Y is depicted in the form of a two-dimensional matrix (x, y) having x rows and y columns, each element of the matrix representing a rectangle on the area and it being established for each element whether the corresponding rectangle in the area is free or occupied, the corresponding element of the matrix being assigned a first logic value (A) in the first mentioned case and a second logic value (B) in the case mentioned second, there being a free subarea on the area if (xI, y) = B and (xI-1, yI) = A and (xI, yI-1) = A and (xI+1, y) = A (xI, yI+1) = A (I) for the corresponding element in the matrix; a matrix reduction being carried out, after determining the elements x, yI which satisfy (I), by always reducing by one the number of rows or the number of columns in the matrix in a predetermined sequence in consecutive steps until a (1, 1) matrix is left, the possible free subareas always being determined after a reduction step with the aid of (I); the number of rows being reduced by determining, for each element (xI,yI) of each row, whether (xI,yI) = B and (xI+1, y) = B (II), in which case the element (xI,yI)':= B in the reduced matrix (x,y)', and if (II) is not satisfied, the element (xI,yI)': = A;the number of columns being reduced by determining, for each element (x,y) of each column, whether (xI,yI) = B and (xI,yI+1) = B (III), in which case the element (xI,yI)': = B in the reduced matrix (x,y)', and if (III) is not satisfied, the element (xI,yI)': = A;the dimensions of the free subareas determined using (I) being determined by updating a dimension table both for the rows and for the columns of the matrix, and by adjusting the dimension table for the rows or for the columns in a corresponding step during the matrix reduction.
  2. 2
    Method of determining free spaces in a space partially filled with objects essentially having the form of a right parallelepiped, characterised in that a space essentially having the form of a right parallelepiped and having dimensions X, Y and Z is depicted in the form of three-dimensional matrix (x,y,z) having x rows, y columns and z layers, each element of the matrix representing a right parallelepiped in the space and it being established for each element whether the corresponding right parallelepiped in the space is free or occupied, the corresponding element of the associated matrix being assigned a first logic value (A) in the first mentioned case and a second logic value (B) in the case mentioned second, there being a free space in the space if (xI,yI,zI) = B and (xI-1,yI,zI) = A and (xI,yI-1,zI) = A and (xI+1,yI,zI) = A and (xI,yI+1,zI) = A and (xI,yI,zI-1) = A and (xI,yI,zI+1) = A (IV) for the corresponding element in the matrix; a matrix reduction being carried out, after determining the elements (xI,yI,zI) which satisfy (IV), by reducing by one the number of rows or the number of columns or the number of layers of the matrix in a predetermined sequence in consecutive steps until a (1,1,1) matrix or a null matrix is left, the possible free spaces always being determined after a reduction step with the aid of (IV); the number of rows being reduced by determining, for each element (xI,yI,zI) of the matrix, whether (xI,yI,zI) = B and (xI+1,yI,zI) = B (V), in which case the element (xI,yI,zI)':= B in the reduced matrix (x, y, z)', and if (V) is not satisfied, the element (xI, y, zI)' = A;the number of columns being reduced by determining whether (xI, y, zI) = B and (xI, yI+1, zIi) = B (VI), in which case the element (xI, y, zI)': = B in the reduced matrix (x, y, z)', and if (VI) is not satisfied, the element (xI, y, zI)' = A;the number of layers being reduced by determining whether (xI, y, zI) = B and (xI, y, zI+1) = B (VII), in which case the element (xI, y, zI)': = B in the reduced matrix (x, y, z)', and if (VII) is not satisfied, the element (xI, yI, zI)' = A;the dimensions of the free spaces determined using (IV) being found by updating a dimension table for the rows and for the columns and for the layers of the matrix, and by adjusting the dimension table for the rows or the columns or the layers in a corresponding step during the matrix reduction.