public class Main { // main method // creates instance of dining philosophers and runs the simulation public static void main (String[] args) throws InterruptedException { // set up instance of dining philosophers DiningPhilosophers simulator = new DiningPhilosophers(5); // create philosophers //simulator.createNaivePhilosophers(); simulator.createAsymmetricPhilosophers(); //simulator.createSittingPhilosophers(); simulator.runSimulation(1); // run simulation for specified amount of seconds simulator.printResults(); // print evaluation of simulation } }