#include <Net.h>
Collaboration diagram for parquetfp::Net:

Public Member Functions | |
| Net () | |
| void | putName (const char *name) |
| void | addNode (pin node) |
| void | clean (void) |
| itPin | pinsBegin () |
| itPin | pinsEnd () |
| pin & | getPin (unsigned pinOffset) |
| int | getIndex () const |
| void | putIndex (int netIndex) |
| double | getWeight () const |
| void | putWeight (double netWeight) |
| char * | getName (void) |
| unsigned | getDegree (void) const |
Public Attributes | |
| vector< pin > | _pins |
Private Attributes | |
| int | _index |
| string | _name |
| double | _weight |
|
|
Definition at line 136 of file Net.h. References _weight.
00137 {
00138 _weight = 1.0;
00139 }
|
|
|
Definition at line 148 of file Net.h. References _pins. Referenced by parquetfp::ClusterDB::addNetsToNewDB(), parquetfp::DB::DB(), and parquetfp::Nets::parseNets().
00149 {
00150 _pins.push_back(node);
00151 }
|
|
|
Definition at line 152 of file Net.h. References _pins. Referenced by parquetfp::DB::DB(), and parquetfp::Nets::parseNets().
00153 {
00154 _pins.resize(0);
00155 }
|
|
|
Definition at line 187 of file Net.h. References _pins. Referenced by parquetfp::DB::DB(), parquetfp::ClusterDB::getClosestNode(), and parquetfp::AnalytSolve::getOptLoc().
00188 { return _pins.size(); }
|
|
|
Definition at line 168 of file Net.h. References _index. Referenced by parquetfp::DB::DB().
00169 {
00170 return _index;
00171 }
|
|
|
Definition at line 184 of file Net.h. References _name. Referenced by parquetfp::DB::DB(), and parquetfp::Nets::parseNets().
00185 { return const_cast<char*>(_name.c_str()); }
|
|
|
Definition at line 165 of file Net.h. References _pins. Referenced by parquetfp::Node::calcAllPinsAtCenter(), parquetfp::Node::changeOrient(), parquetfp::DB::getOptimalRangeStart(), parquetfp::AnalytSolve::getOptLoc(), and parquetfp::Node::syncOrient().
00166 { return _pins[pinOffset]; }
|
|
|
Definition at line 176 of file Net.h. References _weight. Referenced by parquetfp::DB::DB().
00177 {
00178 return _weight;
00179 }
|
|
|
Definition at line 156 of file Net.h. References _pins, and parquetfp::itPin. Referenced by parquetfp::ClusterDB::addNetsToNewDB(), parquetfp::DB::DB(), parquetfp::ClusterDB::getClosestNode(), parquetfp::AnalytSolve::getDesignOptLoc(), parquetfp::DB::getOptimalRangeStart(), and parquetfp::AnalytSolve::getOptLoc().
00157 {
00158 return _pins.begin();
00159 }
|
|
|
Definition at line 160 of file Net.h. References _pins, and parquetfp::itPin. Referenced by parquetfp::ClusterDB::addNetsToNewDB(), parquetfp::DB::DB(), parquetfp::ClusterDB::getClosestNode(), parquetfp::AnalytSolve::getDesignOptLoc(), parquetfp::DB::getOptimalRangeStart(), and parquetfp::AnalytSolve::getOptLoc().
00161 {
00162 return _pins.end();
00163 }
|
|
|
Definition at line 172 of file Net.h. References _index. Referenced by parquetfp::ClusterDB::addNetsToNewDB(), parquetfp::DB::DB(), and parquetfp::Nets::parseNets().
00173 {
00174 _index = netIndex;
00175 }
|
|
|
Definition at line 141 of file Net.h. References _name. Referenced by parquetfp::ClusterDB::addNetsToNewDB(), parquetfp::DB::DB(), and parquetfp::Nets::parseNets().
00142 {
00143 _name = name;
00144 // strncpy(_name, name, 99);
00145 // _name[99] = '\0';
00146 }
|
|
|
Definition at line 180 of file Net.h. References _weight. Referenced by parquetfp::ClusterDB::addNetsToNewDB(), parquetfp::DB::DB(), and parquetfp::Nets::parseWts().
00181 {
00182 _weight = netWeight;
00183 }
|
|
|
Definition at line 131 of file Net.h. Referenced by getIndex(), and putIndex(). |
|
|
|
|
|
Definition at line 128 of file Net.h. Referenced by addNode(), clean(), getDegree(), getPin(), pinsBegin(), and pinsEnd(). |
|
|
Definition at line 133 of file Net.h. Referenced by getWeight(), Net(), and putWeight(). |
1.3.2