You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
After importing the project into Eclipse and possibly adding the necessary libraries, we can look into the AIDemo.java file.
This file contains the main-method to execute this project.
In this method we can see the line that creates the initial state:
AIState State = new AIState(400,150,s);
The parameters are in this order: number of users, number of conductors and seed.
This initializes the state with the first constructor.
The second constructor can be executed by adding another random integer as parameter:
AIState State = new AIState(400,150,s,2);
After this line we can see the two lines that call the actual algorithms. One of those lines should be commented, only one should be executed at each time!