torc-master
|
An object that holds an arc and path information for routing. More...
#include <RouteNode.hpp>
Public Member Functions | |
RouteNode () | |
Null Constructor. More... | |
RouteNode (Tilewire inSource, Tilewire inSink, boost::int32_t inDepth, RouteNode *inParent) | |
Arc only constructor. More... | |
RouteNode (Tilewire inSource, Tilewire inSink, boost::int32_t inCost, boost::int32_t inPathCost, boost::int32_t inDepth, RouteNode *inParent) | |
Complete Tilewire based constructor. More... | |
RouteNode (Arc inArc, boost::int32_t inDepth, RouteNode *inParent) | |
Public Constructor. More... | |
RouteNode (Arc inArc, boost::int32_t inCost, boost::int32_t inPathCost, boost::int32_t inDepth, RouteNode *inParent) | |
Public Constructor. More... | |
const Arc & | getArc () const |
Get the associated Arc. More... | |
const Tilewire & | getSourceTilewire () const |
Get the source Tilewire. More... | |
const Tilewire & | getSinkTilewire () const |
Get the sink Tilewire. More... | |
const boost::int32_t | getCost () const |
Get the heuristic node cost. More... | |
void | setCost (boost::int32_t inHeuristicCost) |
Set the heuristic node cost. More... | |
const boost::int32_t | getPathCost () const |
Get the path cost. More... | |
void | setPathCost (boost::int32_t inPathCost) |
Set the path cost. More... | |
const boost::int32_t | getDepth () const |
Get the node depth. More... | |
void | setDepth (boost::int32_t inDepth) |
Set the node depth. More... | |
RouteNode * | getParent () const |
Get the node's parent. More... | |
RouteNode * | getTop () |
Return the top node by tracing parent pointers. More... | |
bool | operator< (const RouteNode *rhs) const |
Protected Types | |
typedef architecture::Tilewire | Tilewire |
Imported type name. More... | |
typedef architecture::Arc | Arc |
Imported type name. More... | |
Protected Attributes | |
architecture::Arc | mArc |
Arc that this node describes. More... | |
boost::int32_t | mCost |
Cost associated with this arc. More... | |
boost::int32_t | mPathCost |
Path cost for this arc. More... | |
boost::int32_t | mDepth |
Depth of node from the source. More... | |
RouteNode * | mParent |
Pointer to parent node. More... | |
An object that holds an arc and path information for routing.
A RouteNode contains an arc in the device and includes a parent pointer to allow recovery of the actual path to configure following completion of routing a net or sink.
Definition at line 40 of file RouteNode.hpp.
|
protected |
Imported type name.
Definition at line 46 of file RouteNode.hpp.
|
protected |
Imported type name.
Definition at line 44 of file RouteNode.hpp.
|
inline |
Null Constructor.
Definition at line 62 of file RouteNode.hpp.
|
inline |
Arc only constructor.
Definition at line 64 of file RouteNode.hpp.
|
inline |
Complete Tilewire based constructor.
Definition at line 67 of file RouteNode.hpp.
|
inline |
Public Constructor.
Definition at line 72 of file RouteNode.hpp.
|
inline |
Public Constructor.
Definition at line 75 of file RouteNode.hpp.
|
inline |
Get the associated Arc.
Definition at line 80 of file RouteNode.hpp.
|
inline |
Get the heuristic node cost.
Definition at line 86 of file RouteNode.hpp.
|
inline |
Get the node depth.
Definition at line 94 of file RouteNode.hpp.
|
inline |
Get the node's parent.
Definition at line 98 of file RouteNode.hpp.
|
inline |
Get the path cost.
Definition at line 90 of file RouteNode.hpp.
|
inline |
Get the sink Tilewire.
Definition at line 84 of file RouteNode.hpp.
|
inline |
Get the source Tilewire.
Definition at line 82 of file RouteNode.hpp.
|
inline |
Return the top node by tracing parent pointers.
Definition at line 100 of file RouteNode.hpp.
|
inline |
Definition at line 105 of file RouteNode.hpp.
|
inline |
Set the heuristic node cost.
Definition at line 88 of file RouteNode.hpp.
|
inline |
Set the node depth.
Definition at line 96 of file RouteNode.hpp.
|
inline |
Set the path cost.
Definition at line 92 of file RouteNode.hpp.
|
protected |
Arc that this node describes.
Definition at line 50 of file RouteNode.hpp.
|
protected |
Cost associated with this arc.
Definition at line 52 of file RouteNode.hpp.
|
protected |
Depth of node from the source.
Definition at line 56 of file RouteNode.hpp.
|
protected |
Pointer to parent node.
Definition at line 58 of file RouteNode.hpp.
|
protected |
Path cost for this arc.
Definition at line 54 of file RouteNode.hpp.