10 #ifndef CLASS_RANDOMGENERATOR
11 #define CLASS_RANDOMGENERATOR
22 static void generate(
int MAX,
int amount_pkgs){
29 file.open(
"files/loss_random.loss",ofstream::out| ofstream::trunc);
33 for (
int i = 0; i < amount_pkgs; i++)
43 file << i <<
" " << x <<
"\n";
Clase que representa un Generador de Paquetes Aleatorio.