/** * Run the example. * @param arguments This is ignored. */ public static void main(String[] arguments) { run(false); }
final String last = LAST_NAMES.get(i % LAST_NAMES.size()); sim.register( new ExampleCommunicatingAgent(sim.getRandomGenerator(), first + " " + last));
/** * Run the example. * @param arguments This is ignored. */ public static void main(String[] arguments) { run(false); }
final String last = LAST_NAMES.get(i % LAST_NAMES.size()); sim.register( new ExampleCommunicatingAgent(sim.getRandomGenerator(), first + " " + last));
/** * Tests the communication example. */ @Test public void communicationExample() { CommExample.run(true); }