From 7617f93d4dd48e4f9f93513af54e7f8d30fc1ec5 Mon Sep 17 00:00:00 2001 From: Simon Lecocq <simon.lecocq2.etu@unvi-lille.fr> Date: Thu, 20 Feb 2025 22:06:56 +0100 Subject: [PATCH] typage des arguments de la 1ere fonction --- tp_2_miso_mphf.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tp_2_miso_mphf.py b/tp_2_miso_mphf.py index 5adbaf4..d9b95ff 100644 --- a/tp_2_miso_mphf.py +++ b/tp_2_miso_mphf.py @@ -7,7 +7,7 @@ import random ###### PARTIE 1 ###### -def construction_mphf(set_kmer, n, gamma=2, nb_niveaux=3): +def construction_mphf(set_kmer:set[str], n:int, gamma:float=2, nb_niveaux:int=3) -> list[list[int]]: """ Construit une fonction de hachage minimale parfaite (MPHF) pour un ensemble de k-mers. -- GitLab