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