astar router improvements
See original GitHub issueHow can we fix the Astar router for the code below?
import gdsfactory as gf
c = gf.Component("get_route_astar")
w = gf.components.straight()
left = c << w
right = c << w
right.move((100, 80))
obstacle = gf.components.rectangle(size=(100, 10))
obstacle1 = c << obstacle
obstacle2 = c << obstacle
obstacle1.ymin = 40
obstacle2.xmin = 25
port1 = left.ports["o2"]
port2 = right.ports["o2"]
routes = gf.routing.get_route_astar(
component=c,
port1=port1,
port2=port2,
)
c.add(routes.references)
c.show()
Issue Analytics
- State:
- Created a year ago
- Comments:7 (7 by maintainers)
Top Results From Across the Web
A* Routing Steiner Trees
Delay/Wirelength improvement [1]. – Simply the order in which nodes are routed - more critical nodes are routed first and generally have the...
Read more >Improved Global Routing By Using A-Star Algorithm
Abstract. In this paper VLSI routing is improved by improving global routing, this can be done by using A-Star with a heuristic cost...
Read more >How to boost your Wi-Fi router's performance - TechHive
For a more permanent performance improvement, move your router to a central location inside your home, clear of surroudning clutter.
Read more >Distributed routing networks: Moving past a star infrastructure ...
Distributed routing networks: Moving past a star infrastructure can increase benefits ... and improved or maintained redundancy levels.
Read more >Eero Pro 6E Mesh Router Review: A Great Pick for Gigabit ...
The verdict. It's an interesting time for routers, with multiple levels of upgrades available to consumers in need of a new one. Stepping...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, you are right, it looks great
A more useful router would be a global router, I added some links to the issue #57
That is true. But, there isn’t enough space there between the port and the obstacle to resolve the
distance
parameter there.