torc::router::RouteNode Class Reference

An object that holds an arc and path information for routing. More...

#include <RouteNode.hpp>

Inheritance diagram for torc::router::RouteNode:

Inheritance graph
[legend]
Collaboration diagram for torc::router::RouteNode:

Collaboration graph
[legend]

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 ArcgetArc () const
 Get the associated Arc.
const TilewiregetSourceTilewire () const
 Get the source Tilewire.
const TilewiregetSinkTilewire () 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.
RouteNodegetParent () const
 Get the node's parent.
RouteNodegetTop ()
 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.
RouteNodemParent
 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

Imported type name.

Definition at line 44 of file RouteNode.hpp.

Imported type name.

Definition at line 46 of file RouteNode.hpp.


Constructor & Destructor Documentation

torc::router::RouteNode::RouteNode (  )  [inline]

Null Constructor.

Definition at line 62 of file RouteNode.hpp.

torc::router::RouteNode::RouteNode ( Tilewire  inSource,
Tilewire  inSink,
boost::int32_t  inDepth,
RouteNode inParent 
) [inline]

Arc only constructor.

Definition at line 64 of file RouteNode.hpp.

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]

Public Constructor.

Definition at line 72 of file RouteNode.hpp.

torc::router::RouteNode::RouteNode ( Arc  inArc,
boost::int32_t  inCost,
boost::int32_t  inPathCost,
boost::int32_t  inDepth,
RouteNode inParent 
) [inline]

Public Constructor.

Definition at line 75 of file RouteNode.hpp.


Member Function Documentation

const Arc& torc::router::RouteNode::getArc (  )  const [inline]

Get the associated Arc.

Definition at line 80 of file RouteNode.hpp.

const Tilewire& torc::router::RouteNode::getSourceTilewire ( void   )  const [inline]

Get the source Tilewire.

Definition at line 82 of file RouteNode.hpp.

const Tilewire& torc::router::RouteNode::getSinkTilewire ( void   )  const [inline]

Get the sink Tilewire.

Definition at line 84 of file RouteNode.hpp.

const boost::int32_t torc::router::RouteNode::getCost (  )  const [inline]

Get the heuristic node cost.

Definition at line 86 of file RouteNode.hpp.

void torc::router::RouteNode::setCost ( boost::int32_t  inHeuristicCost  )  [inline]

Set the heuristic node cost.

Definition at line 88 of file RouteNode.hpp.

const boost::int32_t torc::router::RouteNode::getPathCost (  )  const [inline]

Get the path cost.

Definition at line 90 of file RouteNode.hpp.

void torc::router::RouteNode::setPathCost ( boost::int32_t  inPathCost  )  [inline]

Set the path cost.

Definition at line 92 of file RouteNode.hpp.

const boost::int32_t torc::router::RouteNode::getDepth (  )  const [inline]

Get the node depth.

Definition at line 94 of file RouteNode.hpp.

void torc::router::RouteNode::setDepth ( boost::int32_t  inDepth  )  [inline]

Set the node depth.

Definition at line 96 of file RouteNode.hpp.

RouteNode* torc::router::RouteNode::getParent (  )  const [inline]

Get the node's parent.

Definition at line 98 of file RouteNode.hpp.

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

Arc that this node describes.

Definition at line 50 of file RouteNode.hpp.

boost::int32_t torc::router::RouteNode::mCost [protected]

Cost associated with this arc.

Definition at line 52 of file RouteNode.hpp.

boost::int32_t torc::router::RouteNode::mPathCost [protected]

Path cost for this arc.

Definition at line 54 of file RouteNode.hpp.

boost::int32_t torc::router::RouteNode::mDepth [protected]

Depth of node from the source.

Definition at line 56 of file RouteNode.hpp.

Pointer to parent node.

Definition at line 58 of file RouteNode.hpp.


The documentation for this class was generated from the following file:

Generated on Thu Oct 13 16:51:03 2011 for TORC by  doxygen 1.5.6