|
TraceMaker
C++ API of the engine
|
Hints from an advice file (src/advice, doc 17). More...
#include <route/router.hpp>
Public Member Functions | |
| bool | active () const |
Public Attributes | |
| std::string | source |
| the advice file, for messages | |
| std::vector< std::pair< std::string, std::string > > | priority |
| "REF.NUM" pairs routed first (as RouterOptions::priority) | |
| std::vector< std::string > | first_nets |
| as RouterOptions::first_nets | |
| model::LayerMask | no_track_layers = 0 |
| added to RouterOptions::no_track_layers | |
| std::vector< std::int32_t > | layer_cost_pm |
| per copper layer, per mille (1000 or more); replaces entries that are lower | |
| std::vector< model::Zone > | zones |
| regions: rule areas (no keep-out flags) ... | |
| std::vector< model::CustomRule > | rules |
| ... and the disallow rules that name them and their nets | |
| int | variants = 4 |
| advised variants added to the portfolio (at most the variants that run) | |
Hints from an advice file (src/advice, doc 17).
They are not applied to the variants the portfolio would run anyway: route_portfolio adds variants extra variants that carry them (the next ones of its list, the variants a plain run with that many more would have added), so the winner of the total order can only be better than without advice, never worse (rule 4).
Definition at line 248 of file router.hpp.
|
inline |
Definition at line 257 of file router.hpp.
| std::vector<std::string> tmk::route::RouterOptions::AdviceSet::first_nets |
Definition at line 251 of file router.hpp.
| std::vector<std::int32_t> tmk::route::RouterOptions::AdviceSet::layer_cost_pm |
per copper layer, per mille (1000 or more); replaces entries that are lower
Definition at line 253 of file router.hpp.
| model::LayerMask tmk::route::RouterOptions::AdviceSet::no_track_layers = 0 |
added to RouterOptions::no_track_layers
Definition at line 252 of file router.hpp.
| std::vector<std::pair<std::string, std::string> > tmk::route::RouterOptions::AdviceSet::priority |
"REF.NUM" pairs routed first (as RouterOptions::priority)
Definition at line 250 of file router.hpp.
| std::vector<model::CustomRule> tmk::route::RouterOptions::AdviceSet::rules |
... and the disallow rules that name them and their nets
Definition at line 255 of file router.hpp.
| std::string tmk::route::RouterOptions::AdviceSet::source |
the advice file, for messages
Definition at line 249 of file router.hpp.
| int tmk::route::RouterOptions::AdviceSet::variants = 4 |
advised variants added to the portfolio (at most the variants that run)
Definition at line 256 of file router.hpp.
| std::vector<model::Zone> tmk::route::RouterOptions::AdviceSet::zones |
regions: rule areas (no keep-out flags) ...
Definition at line 254 of file router.hpp.