Neighbor & NeighborType

class aaa_modules.layout_model.neighbor.Neighbor(zoneId, type)[source]

Represent a neighboring zone.

__init__(zoneId, type)[source]

Creates a new object

Parameters:
getType()[source]
Return type:NeighborType
getZoneId()[source]
Return type:str
isOpenSpace()[source]

Returns True if the neighbor is not closed space.

Return type:boolean
class aaa_modules.layout_model.neighbor.NeighborType[source]

Define the various type of neighboring zones.

CLOSED_SPACE = 1

The two zones are not connected.

OPEN_SPACE = 2

The two zones are treated as equal open space.

OPEN_SPACE_MASTER = 3

The two zones are open space, but this neighbor zone is considered to be more important.

OPEN_SPACE_SLAVE = 4

The two zones are open space, but this neighbor zone is considered to be less important.

UNDEFINED = -1

Not specified or available.