|
|
|
@ -21,6 +21,10 @@ void fusionDevisElements(ListeDevis *R, int *tlogR, ListeDevis *S, int *tlogS, L
|
|
|
|
|
void gestionElementsRestants(ListeDevis *mergedList, ListeDevis *last, ListeDevis *source, int *tlogSource, int *k);
|
|
|
|
|
void fusionMaillonDevis(ListeDevis R, int tlogR, ListeDevis S, int tlogS, ListeDevis *T);
|
|
|
|
|
void triFusionListeDevis(ListeDevis *ldevis, int tlog);
|
|
|
|
|
void fusion(Tache *R[], int tR, Tache *S[], int tS, Tache *T[]);
|
|
|
|
|
void copy(Tache *T[], int i, int j, Tache *R[]);
|
|
|
|
|
void triFusion(Tache *T[], int tlog);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// Fonctions de base -> Qui étaient bien dans structures.h...
|
|
|
|
@ -29,7 +33,7 @@ int max(int a, int b);
|
|
|
|
|
int lenListeDevis(ListeDevis l);
|
|
|
|
|
int longueurMaxNomEntreprise(ListeDevis ldevis);
|
|
|
|
|
int nombrePred(char travaux[], Precedence prec[], int tlog);
|
|
|
|
|
int calculerDureeProjet(Tache **tachesTriees, int nbTaches);
|
|
|
|
|
int calculerDureeProjet(Tache **tachesTriees, int nbTaches);
|
|
|
|
|
void displayDevis(Devis d);
|
|
|
|
|
void displayOffre(Offre *o);
|
|
|
|
|
void displayListeDevis(ListeDevis l);
|
|
|
|
@ -48,8 +52,8 @@ ListeDevis del(ListeDevis l);
|
|
|
|
|
ListeDevis insert(ListeDevis l, Devis d);
|
|
|
|
|
ListeDevis newListeDevis(void);
|
|
|
|
|
Tache *trouverTache(Tache **tabTache, int nbTaches, char *nom);
|
|
|
|
|
Tache* defiler(ListeAttente *file);
|
|
|
|
|
Tache* defiler(ListeAttente *file);
|
|
|
|
|
ListeAttente* initialiserFileAttente(void);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
ListeAttente* traiterTaches(Tache **tabTache, int p_tmax);
|
|
|
|
|
ListeAttente* traiterTaches(Tache **tabTache);
|
|
|
|
|