sim.addClasses(classes);
//terminal
RoundRobinStrategy[] rrs_term = new RoundRobinStrategy[1];
rrs_term[0] = new RoundRobinStrategy();
int[] numJobs = { 6 };
ServiceTimeStrategy[] ds = { new ServiceTimeStrategy(DelayExp[0], DelayPar[0]) };
sim.addNode("terminal", new Terminal(numJobs), new Delay(ds), new Router(rrs_term));
//server
ServiceStrategy[] serv_strat = new ServiceStrategy[1];
serv_strat[0] = new ServiceTimeStrategy(serverExp[0], serverPar[0]);
RoundRobinStrategy[] rrs_serv = new RoundRobinStrategy[1];
rrs_serv[0] = new RoundRobinStrategy();
sim.addNode("server", new Queue(-1, false, null, null), new Server(1, null, serv_strat), new Router(rrs_serv));
//connections
sim.addConnection("terminal", "server");