hachage_simple.c 836 Bytes
#include "hachage_simple.h"
#include "liste_double.h"
#include <stdio.h>
#include <stdlib.h>
#include <assert.h>
#include <stdbool.h>

void init_table (struct table* T, fonction_hachage* H){
   /* int i = 0;
    for(i=0; i<N;i++){
        init_liste_double (&T->tab[i].L);
    }
    T->hash = H;*/
}

void clear_table (struct table* T){
    /*int i = 0; 
    for(i=0; i<N;i++){
        clear_liste_double (&T->tab[i].L);
    }*/
}

void enregistrer_table (struct table* T, double d){
   /* int i;
    i=T->hash(d);
    ajouter_en_tete_liste_double(&T->tab[i].L,d);*/
}

bool rechercher_table (struct table* T, double d){
   /*int i;
   i= T->hash(d);
   recherche_liste_double(&T->tab[i].L,d);*/
}

void imprimer_table (struct table* T){
   /*int i = 0; 
    for(i=0; i<N;i++){
        imprimer_liste_double (&T->tab[i].L);
    } */
}