torc-master
|
Provides the interface for net routers. More...
#include <NetRouterHeuristicBase.hpp>
Public Member Functions | |
NetRouterHeuristicBase (DDB &inDB) | |
Public Constructor. More... | |
virtual | ~NetRouterHeuristicBase () |
Destructor. More... | |
virtual void | setSink (const Tilewire &inSink)=0 |
Set the current routing target. More... | |
virtual void | nodeCost (RouteNode &inNode)=0 |
Calculate the node cost based on distance to the sink and path length. More... | |
virtual void | reorderSinks (const Tilewire &inSource, TilewireVector &inSinks) |
Reorder the Sinks based on this heuristic. More... | |
virtual void | expandSegmentSinks (const Tilewire &inTilewire, ArcVector &outArcs) |
Heuristically expand a segment. More... | |
boost::any | getParameter (boost::uint32_t index) |
Get a parameter. More... | |
void | setParameter (boost::uint32_t index, boost::any inParameter) |
Set a parameter. More... | |
virtual void | processParameters () |
Do something with the parameters. More... | |
Protected Attributes | |
DDB & | mDB |
Database reference. More... | |
ParameterMap | mParameters |
Parameter map. More... | |
Private Types | |
typedef architecture::DDB | DDB |
Imported type names. More... | |
typedef architecture::Tilewire | Tilewire |
typedef architecture::TilewireVector | TilewireVector |
typedef architecture::ArcVector | ArcVector |
Provides the interface for net routers.
Definition at line 30 of file NetRouterHeuristicBase.hpp.
Definition at line 36 of file NetRouterHeuristicBase.hpp.
|
private |
Imported type names.
Definition at line 33 of file NetRouterHeuristicBase.hpp.
|
private |
Definition at line 34 of file NetRouterHeuristicBase.hpp.
Definition at line 35 of file NetRouterHeuristicBase.hpp.
|
inline |
Public Constructor.
Definition at line 41 of file NetRouterHeuristicBase.hpp.
|
inlinevirtual |
|
inlinevirtual |
Heuristically expand a segment.
Reimplemented in torc::router::PathFinderNetRouterHeuristic, and torc::router::NetRouterHeuristic.
Definition at line 52 of file NetRouterHeuristicBase.hpp.
|
inlineinherited |
Get a parameter.
Definition at line 52 of file RouterHeuristicBase.hpp.
|
pure virtual |
Calculate the node cost based on distance to the sink and path length.
Implemented in torc::router::PathFinderNetRouterHeuristic, and torc::router::NetRouterHeuristic.
|
inlinevirtualinherited |
Do something with the parameters.
Reimplemented in torc::router::PathFinderNetRouterHeuristic.
Definition at line 64 of file RouterHeuristicBase.hpp.
|
inlinevirtual |
Reorder the Sinks based on this heuristic.
Reimplemented in torc::router::PathFinderNetRouterHeuristic, and torc::router::NetRouterHeuristic.
Definition at line 50 of file NetRouterHeuristicBase.hpp.
|
inlineinherited |
Set a parameter.
Definition at line 60 of file RouterHeuristicBase.hpp.
|
pure virtual |
Set the current routing target.
Implemented in torc::router::PathFinderNetRouterHeuristic, and torc::router::NetRouterHeuristic.
|
protectedinherited |
Database reference.
Definition at line 40 of file RouterHeuristicBase.hpp.
|
protectedinherited |
Parameter map.
Definition at line 42 of file RouterHeuristicBase.hpp.