27 m_tileUnitMap.clear();
31 const TileType& tileType = tileTypes.at(tileTypeIndex);
32 m_pipCount = (tileType.
pips()).size();
39 size_t netCount = nets.size();
40 for (
size_t i = 0; i < netCount; ++i)
43 const Net& net = nets[i];
45 size_t activePIPCount = pips.size();
46 for (
size_t j = 0; j < activePIPCount; ++j)
48 const PIPRef pip = pips[j];
52 const Tile& tile = tiles.at(tileIndex);
53 if (tile.
typeIndex() != tileTypeIndex)
continue;
62 size_t tileUnitCount = m_tileUnitMap.size();
63 units.reserve(tileUnitCount);
64 tileIndices.reserve(tileUnitCount);
66 tileUnitMap_t::const_iterator it = m_tileUnitMap.begin();
67 tileUnitMap_t::const_iterator itEnd = m_tileUnitMap.end();
68 for (; it != itEnd; ++it)
70 units.push_back(it->second);
71 tileIndices.push_back(it->first);
75 m_tileUnitMap.clear();
83 tileUnitMap_t::iterator lb = m_tileUnitMap.lower_bound(tileIndex);
84 if ((m_tileUnitMap.end() != lb) && (tileIndex == lb->first))
88 tileUnitMap_t::iterator it =