private void setTrafficNodes(InterfaceRequiredMethods n, double duration,
			Distribution dist) {
		if (dist instanceof UniformDistribution) {
			int rate = (int) dist.nextSample();
			double interval = duration / rate;
			
			// uniforme distribuição para escolher um tempo de 0 a 10 minutos para iniciar a sequencia de eventos daquele nodo
			//UniformDistribution ud = new UniformDistribution(0, 5); 
			//double time = interval + (((int)ud.nextSample()) * 60);
			double time = 1;
			
			System.out.println("########## rate="+rate);
			System.out.println("########## time="+time);
			
			int qntEventos = (int) ((duration / 60) * rate);
			while (qntEventos > 0) {
				n.sentEventRelative(time);
				time += interval;
				qntEventos -= 1;
			}
		}
	}