17 #ifndef KITE_ROUTING_PLANE_H 18 #define KITE_ROUTING_PLANE_H 20 #include "crlcore/RoutingLayerGauge.h" 21 #include "kite/Track.h" 27 using Katabatic::KbDirectionMask;
58 bool _check (
unsigned int& overlaps )
const;
59 Record* _getRecord ()
const;
60 string _getString ()
const;
61 inline string _getTypeName ()
const;
66 inline bool operator() (
Track* track1,
Track* track2 );
79 vector<Track*> _tracks;
92 inline bool RoutingPlane::TrackCompare::operator() (
Track* lhs,
Track* rhs )
106 inline string RoutingPlane::_getTypeName ()
const {
return "RoutingPlane"; }
109 {
return _layerGauge->getTrackNumber(_axisMin,_axisMax); }
112 {
return _layerGauge->getTrackPosition(_axisMin,index); }
127 #endif // KITE_ROUTING_PLANE_H unsigned int getDirection() const
Definition: RoutingPlane.h:97
bool isVertical() const
Definition: RoutingPlane.h:117
const Layer * getLayer() const
Definition: RoutingPlane.h:103
const Layer * getLayer() const
const Layer * getBlockageLayer() const
Definition: RoutingPlane.h:104
size_t getTracksSize() const
Definition: RoutingPlane.h:105
RoutingPlane * getBottom() const
Definition: RoutingPlane.cpp:150
static RoutingPlane * create(KiteEngine *, size_t depth)
Definition: RoutingPlane.cpp:91
bool _check(unsigned int &overlaps) const
Definition: RoutingPlane.cpp:174
bool isHorizontal() const
Definition: RoutingPlane.h:114
KiteEngine * getKiteEngine() const
Definition: RoutingPlane.h:95
DbU::Unit getTrackMax() const
Definition: RoutingPlane.h:102
Structure managing one routing track.
Definition: Track.h:42
DbU::Unit getTrackMin() const
Definition: RoutingPlane.h:101
const Layer * getBlockageLayer() const
The Kite Tool.
Definition: KiteEngine.h:60
DbU::Unit getTrackPosition(size_t index) const
Definition: RoutingPlane.h:111
Track * getTrackByPosition(DbU::Unit axis, unsigned int mode=KtNearest) const
Definition: RoutingPlane.cpp:164
DbU::Unit getAxisMin() const
Definition: RoutingPlane.h:99
DbU::Unit getAxisMax() const
Definition: RoutingPlane.h:100
RoutingLayerGauge * getLayerGauge() const
Definition: RoutingPlane.h:96
Array of Tracks in one Layer.
Definition: RoutingPlane.h:34
size_t computeTracksSize() const
Definition: RoutingPlane.h:108
DbU::Unit getAxis() const
Definition: Track.h:192
size_t getDepth() const
Definition: RoutingPlane.h:98
Definition: Constants.h:41
The namespace dedicated to Kite.
Definition: Constants.h:22
RoutingPlane * getTop() const
Definition: RoutingPlane.cpp:146
Track * getTrackByIndex(size_t index) const
Definition: RoutingPlane.cpp:157