torc-master
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Pages
torc::router::NetVectorRouterHeuristicBase Class Reference

Provides net routing based on the Nillson graphsearch algorithm. More...

#include <NetVectorRouterHeuristicBase.hpp>

+ Inheritance diagram for torc::router::NetVectorRouterHeuristicBase:
+ Collaboration diagram for torc::router::NetVectorRouterHeuristicBase:

Public Member Functions

 NetVectorRouterHeuristicBase (DDB &inDB)
 Public Constructor. More...
 
virtual ~NetVectorRouterHeuristicBase ()
 Destructor. More...
 
virtual void prioritizeNets (RouteNetVector &inNets)
 Prioritize nets for routing. More...
 
virtual void updateParameters (ParameterMap &inParameters)
 Heuristically update parameters related to the associated NetVector router. 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

DDBmDB
 Database reference. More...
 
ParameterMap mParameters
 Parameter map. More...
 

Private Types

typedef architecture::DDB DDB
 Imported type names. More...
 
typedef boost::unordered_map
< boost::uint32_t, boost::any > 
ParameterMap
 

Detailed Description

Provides net routing based on the Nillson graphsearch algorithm.

The router can either return a vector of nodes or directly populate DDB usage.

Definition at line 30 of file NetVectorRouterHeuristicBase.hpp.

Member Typedef Documentation

Imported type names.

Definition at line 33 of file NetVectorRouterHeuristicBase.hpp.

typedef boost::unordered_map<boost::uint32_t, boost::any> torc::router::NetVectorRouterHeuristicBase::ParameterMap
private

Definition at line 34 of file NetVectorRouterHeuristicBase.hpp.

Constructor & Destructor Documentation

torc::router::NetVectorRouterHeuristicBase::NetVectorRouterHeuristicBase ( DDB inDB)
inline

Public Constructor.

Definition at line 39 of file NetVectorRouterHeuristicBase.hpp.

39 : RouterHeuristicBase(inDB) {}
RouterHeuristicBase(DDB &inDB)
Public Constructor.
virtual torc::router::NetVectorRouterHeuristicBase::~NetVectorRouterHeuristicBase ( )
inlinevirtual

Destructor.

Definition at line 41 of file NetVectorRouterHeuristicBase.hpp.

41 {}

Member Function Documentation

boost::any torc::router::RouterHeuristicBase::getParameter ( boost::uint32_t  index)
inlineinherited

Get a parameter.

Definition at line 52 of file RouterHeuristicBase.hpp.

52  {
53  ParameterMap::iterator p = mParameters.find(index);
54  if (p != mParameters.end()) {
55  return p->second;
56  }
57  return boost::any();
58  }
ParameterMap mParameters
Parameter map.

+ Here is the caller graph for this function:

virtual void torc::router::NetVectorRouterHeuristicBase::prioritizeNets ( RouteNetVector inNets)
inlinevirtual

Prioritize nets for routing.

Reimplemented in torc::router::PathFinderHeuristic.

Definition at line 44 of file NetVectorRouterHeuristicBase.hpp.

44 {}
virtual void torc::router::RouterHeuristicBase::processParameters ( )
inlinevirtualinherited

Do something with the parameters.

Reimplemented in torc::router::PathFinderNetRouterHeuristic.

Definition at line 64 of file RouterHeuristicBase.hpp.

64 {}

+ Here is the caller graph for this function:

void torc::router::RouterHeuristicBase::setParameter ( boost::uint32_t  index,
boost::any  inParameter 
)
inlineinherited

Set a parameter.

Definition at line 60 of file RouterHeuristicBase.hpp.

60  {
61  mParameters[index] = inParameter;
62  }
ParameterMap mParameters
Parameter map.

+ Here is the caller graph for this function:

virtual void torc::router::NetVectorRouterHeuristicBase::updateParameters ( ParameterMap inParameters)
inlinevirtual

Heuristically update parameters related to the associated NetVector router.

Reimplemented in torc::router::PathFinderHeuristic.

Definition at line 46 of file NetVectorRouterHeuristicBase.hpp.

46 {}

Field Documentation

DDB& torc::router::RouterHeuristicBase::mDB
protectedinherited

Database reference.

Definition at line 40 of file RouterHeuristicBase.hpp.

ParameterMap torc::router::RouterHeuristicBase::mParameters
protectedinherited

Parameter map.

Definition at line 42 of file RouterHeuristicBase.hpp.


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