torc-master
|
Placement mapping for legal instance types to site types. More...
#include <PlacementSiteTypeMapping.hpp>
Data Structures | |
class | MappingSiteType |
Public Types | |
typedef std::vector < MappingSiteType > | TypeVector |
Public Member Functions | |
PlacementSiteTypeMapping (DDB &inDB) | |
~PlacementSiteTypeMapping () | |
uint32 | getNumTypes () |
std::vector< MappingSiteType > & | getTypeVector () |
std::vector< uint32 > & | getLegalSitesForInstance (uint32 inInstanceTypeIndex) |
std::vector< uint32 > & | getLegalInstancesForSite (uint32 inSiteTypeIndex) |
MappingSiteType & | getType (uint32 inIndex) |
MappingSiteType & | getType (std::string &inName) |
const std::string & | getName (uint32 inIndex) |
uint32 | getTypeIndex (const std::string &inType) |
Get the type index for a given type name, creates a new entry if not found. More... | |
Protected Types | |
typedef architecture::DDB | DDB |
typedef architecture::Sites | Sites |
typedef boost::uint32_t | uint32 |
typedef std::vector< uint32 > | InstanceTypeToCandidateTypeMap |
typedef architecture::Site | Site |
typedef std::vector< const Site * > | SitePtrVector |
typedef std::vector < SitePtrVector > | SitePtrVectorVector |
typedef std::vector < SitePtrVectorVector > | SitePtrVectorVectorVector |
typedef std::set< Site * > | SitePtrSet |
typedef std::vector< SitePtrSet > | SitePtrSetVector |
typedef std::vector < SitePtrSetVector > | SitePtrSetVectorVector |
Protected Member Functions | |
void | prepareStructures () |
void | addMapData (std::string itype, std::string stype) |
Protected Attributes | |
DDB & | mDB |
const Sites & | mSites |
const architecture::Array < const architecture::PrimitiveDef > & | mSiteTypes |
TypeVector | mTypeVector |
std::map< std::string, uint32 > | mTypeLookup |
Placement mapping for legal instance types to site types.
Definition at line 33 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 36 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 41 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 43 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 48 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 49 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 50 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 44 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 45 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 46 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 37 of file PlacementSiteTypeMapping.hpp.
typedef std::vector<MappingSiteType> torc::placer::PlacementSiteTypeMapping::TypeVector |
Definition at line 64 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 38 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 77 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 89 of file PlacementSiteTypeMapping.hpp.
|
inlineprotected |
Definition at line 102 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 120 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 117 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 128 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 111 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 123 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 125 of file PlacementSiteTypeMapping.hpp.
|
inline |
Get the type index for a given type name, creates a new entry if not found.
Definition at line 131 of file PlacementSiteTypeMapping.hpp.
|
inline |
Definition at line 113 of file PlacementSiteTypeMapping.hpp.
|
inlineprotected |
Definition at line 92 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 69 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 70 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 71 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 74 of file PlacementSiteTypeMapping.hpp.
|
protected |
Definition at line 73 of file PlacementSiteTypeMapping.hpp.