Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error in TPDS_Assign_Priority #23

Open
ncy0817 opened this issue Mar 18, 2024 · 0 comments
Open

Error in TPDS_Assign_Priority #23

ncy0817 opened this issue Mar 18, 2024 · 0 comments

Comments

@ncy0817
Copy link

ncy0817 commented Mar 18, 2024

I found an error in TPDS_Assign_Priority. You first remove node v and its outgoing edges from G, and then you search for the successor nodes of v in G.

A = find_successor(G_copy, v)
remove_nodes_in_graph(G_copy, [v])
if v in V:
    V.remove(v)
# priority assignment
Prio[v] = p[0]
p[0] = p[0] + 1
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

No branches or pull requests

1 participant