Skip to content

Conversation

@GiggleLiu
Copy link
Contributor

@GiggleLiu GiggleLiu commented Dec 22, 2021

There is a bug in the mapping. The BranchFixB gadget does not describe the graph correctly. @minhthin1028

# ⋅ ● ⋅ ⋅
function source_graph(::BranchFixB)
locs = SimpleNode.([(2,3),(3,3),(3,2),(4,2)])
locs = SimpleNode.([(2,3),(3,2),(3,3),(4,2)])
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why does the ordering of the vertices matter in the array?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Good question. Because it is related to how I specify the graph. They should be consistent. See line 262.
For regular unit disk gadgets, it does not matter, however, it topology of a crossing gadget has to be specified manually. So they should be consistent.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

If you feel this PR is good, you can either approve or squash and merge this PR.

@minhthin1028 minhthin1028 merged commit 836a1ab into main Dec 23, 2021
@minhthin1028 minhthin1028 deleted the fix-branchfixb branch December 23, 2021 16:21
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants