Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
S
ST7-Intel
Manage
Activity
Members
Plan
Wiki
Code
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Snippets
Deploy
Releases
Package registry
Container registry
Model registry
Operate
Terraform modules
Analyze
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
GitLab community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
Simon Maréchal
ST7-Intel
Commits
1a2c36a5
Commit
1a2c36a5
authored
Mar 22, 2021
by
Paul Saurou
Browse files
Options
Downloads
Patches
Plain Diff
Update tools.py
parent
fe872898
No related branches found
No related tags found
No related merge requests found
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
Appli-iso3dfd/tools.py
+3
-3
3 additions, 3 deletions
Appli-iso3dfd/tools.py
with
3 additions
and
3 deletions
Appli-iso3dfd/tools.py
+
3
−
3
View file @
1a2c36a5
...
...
@@ -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):
Secon
d dimension of matrix
n_cbx (int):
Second
dimension of
matrix
n_cby (int): Second dimension of
matrix
n3_size (int):
Thir
d 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
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment