Bonjour;
je veut traduire cet algorithme en langage java pour que je puisse l'exécuter sur éclipse; j'ai besoin d'aide
et merci d'avance


1. let S1 = {T| T is a table subset of size 1 satisfying TS-cost(T)>= c};

i=1
2. while i<max-tables and |Si|>0

3. i=i+1; Si={};

4. let G= { T| T is a table subset of size i , and existe s appartient Si-1 such that s inclu dans T}

5. for each T in G

if TS-cost(T)>= c then

Si=Si U {T}


6. end for

7. end while

8. S= S1 U S2 U.....Smax-tables;

9. R={T| T appartient à S and TS-weight (T) >= c}

10. return R