TraceMaker
C++ API of the engine
Loading...
Searching...
No Matches
tmk::place::EdgePull Struct Reference

An objective-only pull of a part toward the board outline (doc 15 CONN-01, opt-in): the body point nearest to the outline in the input becomes a one-pin pseudo-net anchored on the nearest outline segment's axis (x for a mostly vertical segment, y for a mostly horizontal one), so the pull is exact in the annealer's integer cost and rotating the part away from the edge costs too. More...

#include <place/problem.hpp>

Public Attributes

int footprint = -1
std::vector< Point > body
 absolute candidate points (courtyard outline, else pad corners)
int weight = 2 * kSignalWeight
std::string name
 "~CONN-01 J3 edge"

Detailed Description

An objective-only pull of a part toward the board outline (doc 15 CONN-01, opt-in): the body point nearest to the outline in the input becomes a one-pin pseudo-net anchored on the nearest outline segment's axis (x for a mostly vertical segment, y for a mostly horizontal one), so the pull is exact in the annealer's integer cost and rotating the part away from the edge costs too.

Definition at line 145 of file problem.hpp.

Member Data Documentation

◆ body

std::vector<Point> tmk::place::EdgePull::body

absolute candidate points (courtyard outline, else pad corners)

Definition at line 147 of file problem.hpp.

◆ footprint

int tmk::place::EdgePull::footprint = -1

Definition at line 146 of file problem.hpp.

◆ name

std::string tmk::place::EdgePull::name

"~CONN-01 J3 edge"

Definition at line 149 of file problem.hpp.

◆ weight

int tmk::place::EdgePull::weight = 2 * kSignalWeight

Definition at line 148 of file problem.hpp.


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