@@ -0,0 +1,407 @@
+package br.ufrj.cos.redes.delayLossSimulator;%0A%0Apublic class ExponentialSampleGeneratorExample %7B%0A%09public static void main(String%5B%5D args) %7B%0A%09%09//E%5BX%5D = 1/lambda for exponential random variables%0A%09%09double LAMBDA = 50;%0A%09%09ExponentialSampleGenerator generator = new ExponentialSampleGenerator(LAMBDA);%0A%09%09for (int i = 0; i %3C 500; i++) %7B%0A%09%09%09System.out.println(%22Sample generated = %22 + generator.getSample());%0A%09%09%7D%0A%09%7D%0A%7D%0A

add exponential generator example