Skip to content
Snippets Groups Projects
Commit 1a2c36a5 authored by Paul Saurou's avatar Paul Saurou
Browse files

Update tools.py

parent fe872898
No related branches found
No related tags found
No related merge requests found
......@@ -102,9 +102,9 @@ def add_pheromones(tau, paths, costs, Q, n1_size, n2_size, n3_size, n_cbx, n_cby
Q (float): quantity of pheromones added by an ant on an edge
n1_size (int): First dimension of matrix
n2_size (int): Second dimension of matrix
n3_size (int): Second dimension of matrix
n_cbx (int): Second dimension of matrix
n_cby (int): Second dimension of matrix
n3_size (int): Third dimension of matrix
n_cbx (int): First dimension of the cache
n_cby (int): Second dimension of the cache
Returns:
(np.array, list, float): the updated pheromon matrix, the best path and the associated cost
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment