/**
 * Main class to execute the program
 */
public class Executable {

	// Constants
	public static final int MAX_USERS = 16;


	/**
	 * Main function to launch the program
	 */
	public static void main(String[] args) {

		/* ######################### Initialisation ######################### */

		// Variables used here
		int nb_users;

		// Create a new World
		World world = new World();



		/* ######################### One access point - RR ######################### */

		System.out.println("Tests with one access point and RR allocation algorithm");

		// Add an access point
		if (!world.addAccessPoint(AccessPoint.RR_ALLOCATION_ALGORITHM)) {
			System.err.println("[ERROR] World: Can't add the access point number 1 to the list");
			System.exit(-1);
		}

		// Change the number of users dynamically
		for (nb_users = 1; nb_users < MAX_USERS; ++nb_users) {

			// Launch the simulation on the world with this number of users
			world.bootstrap(nb_users);
		}



		/* ######################### One access point - MaxSNR ######################### */
		// Clear the world
		world.clear();

		System.out.println("Test with one access point and MaxSNR allocation algorithm");

		// Add an access point
		if (!world.addAccessPoint(AccessPoint.MAX_SNR_ALLOCATION_ALGORITHM)) {
			System.err.println("[ERROR] World: Can't add the access point number 1 to the list");
			System.exit(-1);
		}

		// Change the number of users dynamically
		for (nb_users = 1; nb_users < MAX_USERS; ++nb_users) {

			// Launch the simulation on the world with this number of users
			world.bootstrap(nb_users);
		}



		/* ######################### Two access points - RR ######################### */
		// Clear the world
		/*world.clear();

		System.out.println("Tests with two access points and RR allocation algorithm");

		// Add two access points
		if (!world.addAccessPoint(World.RR_ALLOCATION_ALGORITHM)) {
			System.err.println("[ERROR] World: Can't add the access point number 1 to the list");
			System.exit(-1);
		}
		if (!world.addAccessPoint(World.RR_ALLOCATION_ALGORITHM)) {
			System.err.println("[ERROR] World: Can't add the access point number 2 to the list");
			System.exit(-1);
		}*/



		/* ######################### Two access points - MaxSNR ######################### */
		// Clear the world
		/*world.clear();

		System.out.println("Tests with two access points and MaxSNR allocation algorithm");

		// Add two access points
		if (!world.addAccessPoint(World.MAX_SNR_ALLOCATION_ALGORITHM)) {
			System.err.println("[ERROR] World: Can't add the access point number 1 to the list");
			System.exit(-1);
		}
		if (!world.addAccessPoint(World.MAX_SNR_ALLOCATION_ALGORITHM)) {
			System.err.println("[ERROR] World: Can't add the access point number 2 to the list");
			System.exit(-1);
		}*/

	}
}
@@ -116,17 +116,18 @@
 USERS = 
-1
+25
 6;%0A%0A%0A%09/*
@@ -322,16 +322,19 @@
 re%0A%09%09int
+ i,
  nb_user
@@ -808,32 +808,39 @@
 amically%0A%09%09for (
+i = 1, 
 nb_users = 1; nb
@@ -857,35 +857,82 @@
 AX_USERS; ++
-nb_users) %7B
+i) %7B%0A%0A%09%09%09// Get the power of 2%0A%09%09%09nb_users = nb_users * 2;
 %0A%0A%09%09%09// Laun
@@ -1498,16 +1498,23 @@
 %0A%09%09for (
+i = 1, 
 nb_users
@@ -1547,19 +1547,66 @@
 ; ++
-nb_users) %7B
+i) %7B%0A%0A%09%09%09// Get the power of 2%0A%09%09%09nb_users = nb_users * 2;
 %0A%0A%09%09

Put the nb of users to test into exponential