Skip to content
Snippets Groups Projects
Commit c68081bd authored by shex04's avatar shex04
Browse files

.

parent 70df3742
Branches main
No related tags found
No related merge requests found
......@@ -75,7 +75,7 @@ def proxy_problem_explicit_matrix(n, m, weights, distances):
if __name__ == "__main__":
# Example values
n = 7 # Number of nodes (including v0)
n = 7 # Number of nodes (excluding v0)
m = 2 # Number of proxies
weights = [10, 15, 20, 25, 5, 8, 30] # Weights of the nodes
distances = [2, 3, 5, 4, 1, 3, 2] # Distances between consecutive nodes
......
......@@ -72,7 +72,7 @@ def proxy_problem(n, m, weights, distances):
if __name__ == "__main__":
# Example values
n = 7 # Number of nodes (including v0)
n = 7 # Number of nodes (excluding v0)
m = 2 # Number of proxies
weights = [10, 15, 20, 25, 5, 8, 30] # Weights of the nodes
distances = [2, 3, 5, 4, 1, 3, 2] # Distances between consecutive nodes
......
......@@ -63,7 +63,7 @@ def proxy_problem_unoptimized(n, m, weights, distances):
if __name__ == "__main__":
# Example values
n = 7 # Number of nodes (including v0)
n = 7 # Number of nodes (excluding v0)
m = 2 # Number of proxies
weights = [10, 15, 20, 25, 5, 8, 30] # Weights of the nodes
distances = [2, 3, 5, 4, 1, 3, 2] # Distances between consecutive nodes
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment