Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
M
macroplacement
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
lvzhengyang
macroplacement
Commits
01109df1
Unverified
Commit
01109df1
authored
Dec 13, 2022
by
Zhiang Wang
Committed by
GitHub
Dec 13, 2022
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Update SA.py
parent
a1fe23d4
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
1 additions
and
1 deletions
+1
-1
CodeElements/SimulatedAnnealing/SA.py
+1
-1
No files found.
CodeElements/SimulatedAnnealing/SA.py
View file @
01109df1
...
@@ -1525,7 +1525,7 @@ class SimulatedAnnealing:
...
@@ -1525,7 +1525,7 @@ class SimulatedAnnealing:
for
i
in
range
(
len
(
random_macros
)):
for
i
in
range
(
len
(
random_macros
)):
self
.
design
.
objects
[
random_macros
[
i
]]
.
x
=
loc_map
[
random_macros
[
i
]][
0
]
self
.
design
.
objects
[
random_macros
[
i
]]
.
x
=
loc_map
[
random_macros
[
i
]][
0
]
self
.
design
.
objects
[
random_macros
[
i
]]
.
y
=
loc_map
[
random_macros
[
i
]][
1
]
self
.
design
.
objects
[
random_macros
[
i
]]
.
y
=
loc_map
[
random_macros
[
i
]][
1
]
return
False
return
False
# update the macro in plc_client
# update the macro in plc_client
for
macro
in
random_macros
:
for
macro
in
random_macros
:
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment