#include <NetRouterBase.hpp>
Public Member Functions | |
NetRouterBase (DDB &inDB, NetRouterHeuristicBase *inHeuristic) | |
Public Constructor. | |
virtual | ~NetRouterBase () |
Destructor. | |
void | route (RouteNet &inNet) |
Primary route call. | |
double | getTotalRouteTime () |
Get total route time. | |
NetRouterHeuristicBase * | getHeuristic () |
Get the current heuristic. | |
void | setHeuristic (NetRouterHeuristicBase *inHeuristic) |
Set the current heuristic. | |
Protected Member Functions | |
virtual void | routeNet (RouteNet &inNet)=0 |
Virtual route call. | |
Protected Attributes | |
DDB & | mDB |
Database reference. | |
NetRouterHeuristicBase * | mHeuristic |
Pointer to the heuristic for making routing decisions. | |
boost::timer | mRouteTimer |
Timer object for performance analysis. | |
double | mTotalRouteTime |
Total routing time since construction. | |
Private Types | |
typedef architecture::DDB | DDB |
Imported type names. | |
typedef architecture::WireUsage | WireUsage |
typedef architecture::Tilewire | Tilewire |
This base class provides a virtual route function.
Definition at line 43 of file NetRouterBase.hpp.
typedef architecture::DDB torc::router::NetRouterBase::DDB [private] |
Imported type names.
Reimplemented in torc::router::NetRouter.
Definition at line 46 of file NetRouterBase.hpp.
torc::router::NetRouterBase::NetRouterBase | ( | DDB & | inDB, | |
NetRouterHeuristicBase * | inHeuristic | |||
) | [inline] |
virtual torc::router::NetRouterBase::~NetRouterBase | ( | ) | [inline, virtual] |
void torc::router::NetRouterBase::route | ( | RouteNet & | inNet | ) | [inline] |
double torc::router::NetRouterBase::getTotalRouteTime | ( | ) | [inline] |
NetRouterHeuristicBase* torc::router::NetRouterBase::getHeuristic | ( | ) | [inline] |
void torc::router::NetRouterBase::setHeuristic | ( | NetRouterHeuristicBase * | inHeuristic | ) | [inline] |
virtual void torc::router::NetRouterBase::routeNet | ( | RouteNet & | inNet | ) | [protected, pure virtual] |
DDB& torc::router::NetRouterBase::mDB [protected] |
Pointer to the heuristic for making routing decisions.
Definition at line 55 of file NetRouterBase.hpp.
boost::timer torc::router::NetRouterBase::mRouteTimer [protected] |
double torc::router::NetRouterBase::mTotalRouteTime [protected] |