Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- if column + 1 < width:
- g.add_edge(nodes[row, column], nodes[row, column + 1], mu, mu)
- if row + 1 < height:
- g.add_edge(nodes[row, column], nodes[row + 1, column], mu, mu)
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement