torc::router::RouteNode Class Reference
An object that holds an arc and path information for routing.
More...
#include <RouteNode.hpp>
List of all members.
|
Public Member Functions |
| RouteNode () |
| Null Constructor.
|
| RouteNode (Tilewire inSource, Tilewire inSink, boost::int32_t inDepth, RouteNode *inParent) |
| Arc only constructor.
|
| RouteNode (Tilewire inSource, Tilewire inSink, boost::int32_t inCost, boost::int32_t inPathCost, boost::int32_t inDepth, RouteNode *inParent) |
| Complete Tilewire based constructor.
|
| RouteNode (Arc inArc, boost::int32_t inDepth, RouteNode *inParent) |
| Public Constructor.
|
| RouteNode (Arc inArc, boost::int32_t inCost, boost::int32_t inPathCost, boost::int32_t inDepth, RouteNode *inParent) |
| Public Constructor.
|
const Arc & | getArc () const |
| Get the associated Arc.
|
const Tilewire & | getSourceTilewire () const |
| Get the source Tilewire.
|
const Tilewire & | getSinkTilewire () const |
| Get the sink Tilewire.
|
const boost::int32_t | getCost () const |
| Get the heuristic node cost.
|
void | setCost (boost::int32_t inHeuristicCost) |
| Set the heuristic node cost.
|
const boost::int32_t | getPathCost () const |
| Get the path cost.
|
void | setPathCost (boost::int32_t inPathCost) |
| Set the path cost.
|
const boost::int32_t | getDepth () const |
| Get the node depth.
|
void | setDepth (boost::int32_t inDepth) |
| Set the node depth.
|
RouteNode * | getParent () const |
| Get the node's parent.
|
RouteNode * | getTop () |
| Return the top node by tracing parent pointers.
|
bool | operator< (const RouteNode *rhs) const |
Protected Types |
typedef architecture::Tilewire | Tilewire |
| Imported type name.
|
typedef architecture::Arc | Arc |
| Imported type name.
|
Protected Attributes |
architecture::Arc | mArc |
| Arc that this node describes.
|
boost::int32_t | mCost |
| Cost associated with this arc.
|
boost::int32_t | mPathCost |
| Path cost for this arc.
|
boost::int32_t | mDepth |
| Depth of node from the source.
|
RouteNode * | mParent |
| Pointer to parent node.
|
Detailed Description
An object that holds an arc and path information for routing.
Definition at line 40 of file RouteNode.hpp.
Member Typedef Documentation
Constructor & Destructor Documentation
torc::router::RouteNode::RouteNode |
( |
|
) |
[inline] |
torc::router::RouteNode::RouteNode |
( |
Tilewire |
inSource, |
|
|
Tilewire |
inSink, |
|
|
boost::int32_t |
inDepth, |
|
|
RouteNode * |
inParent | |
|
) |
| | [inline] |
torc::router::RouteNode::RouteNode |
( |
Tilewire |
inSource, |
|
|
Tilewire |
inSink, |
|
|
boost::int32_t |
inCost, |
|
|
boost::int32_t |
inPathCost, |
|
|
boost::int32_t |
inDepth, |
|
|
RouteNode * |
inParent | |
|
) |
| | [inline] |
Complete Tilewire based constructor.
Definition at line 67 of file RouteNode.hpp.
torc::router::RouteNode::RouteNode |
( |
Arc |
inArc, |
|
|
boost::int32_t |
inDepth, |
|
|
RouteNode * |
inParent | |
|
) |
| | [inline] |
torc::router::RouteNode::RouteNode |
( |
Arc |
inArc, |
|
|
boost::int32_t |
inCost, |
|
|
boost::int32_t |
inPathCost, |
|
|
boost::int32_t |
inDepth, |
|
|
RouteNode * |
inParent | |
|
) |
| | [inline] |
Member Function Documentation
const Arc& torc::router::RouteNode::getArc |
( |
|
) |
const [inline] |
const Tilewire& torc::router::RouteNode::getSourceTilewire |
( |
void |
|
) |
const [inline] |
const Tilewire& torc::router::RouteNode::getSinkTilewire |
( |
void |
|
) |
const [inline] |
const boost::int32_t torc::router::RouteNode::getCost |
( |
|
) |
const [inline] |
void torc::router::RouteNode::setCost |
( |
boost::int32_t |
inHeuristicCost |
) |
[inline] |
const boost::int32_t torc::router::RouteNode::getPathCost |
( |
|
) |
const [inline] |
void torc::router::RouteNode::setPathCost |
( |
boost::int32_t |
inPathCost |
) |
[inline] |
const boost::int32_t torc::router::RouteNode::getDepth |
( |
|
) |
const [inline] |
void torc::router::RouteNode::setDepth |
( |
boost::int32_t |
inDepth |
) |
[inline] |
RouteNode* torc::router::RouteNode::getParent |
( |
|
) |
const [inline] |
RouteNode* torc::router::RouteNode::getTop |
( |
|
) |
[inline] |
Return the top node by tracing parent pointers.
Definition at line 100 of file RouteNode.hpp.
Member Data Documentation
Cost associated with this arc.
Definition at line 52 of file RouteNode.hpp.
Depth of node from the source.
Definition at line 56 of file RouteNode.hpp.
The documentation for this class was generated from the following file: