diff --git a/Appli-iso3dfd/compute_path.py b/Appli-iso3dfd/compute_path.py index d5fbe35046b790d615ad5193d09f648a04ccafdb..af35accc4b9fae87f4c963bbca9ca353eb502459 100644 --- a/Appli-iso3dfd/compute_path.py +++ b/Appli-iso3dfd/compute_path.py @@ -64,18 +64,18 @@ def proba(i, alpha, tau, n1_size, n2_size, n3_size, n_cbx, n_cby, n_cbz): return (sequence, weights) def compute_path(tau, alpha, n1_size, n2_size, n3_size): - """From the sizes of the problem and the pheromon matrix, give a ant path. - - Args: - tau (np.array): Pheromon matrix - alpha (foat): Parameter impacting weights when choosing path - n1_size (int): First dimension of the problem - n2_size (int): Second dimension of the problem - n3_size (int): Third dimension of the problem - - Returns: - (list[int]): path choosen by the ant (n1, n2, n3, cbx, cby, cbz) - """ + """From the sizes of the problem and the pheromon matrix, give a ant path. + + Args: + tau (np.array): Pheromon matrix + alpha (foat): Parameter impacting weights when choosing path + n1_size (int): First dimension of the problem + n2_size (int): Second dimension of the problem + n3_size (int): Third dimension of the problem + + Returns: + (list[int]): path choosen by the ant (n1, n2, n3, cbx, cby, cbz) + """ #n_cbx, n_cby, n_cbz will be initialized after the choice of n1, n2, n3 n_cbx = 0