/** 
 * @author YourAndrewIDHere
 * You should fill in the stub for this code file.  The
 * arguments will be given to you 
 */

import java.io.*;
import java.util.*;

public class DetermModelDriver {

	/**
	 * The first argument is the model filename
	 * 
	 * All other arguments are integers which are the NodeIDs of states 
	 * initially active in the simulation.
	 * 
	 * The last argument is potentially a flag indicating that a test run
	 * will be performed.
	 */
	public static void main(String[] args) {
		if(args.length < 2)
		{
			System.out.println("Usage: DetermModelDriver Active1 (Active2) ... (ActiveN) (-test)");
			return;
		}
		
		String networkFilename = args[0];
		ArrayList initialActiveNodes = new ArrayList();
		
		for(int i = 1; i < args.length; i++)
		{
			if(args[i].toLowerCase().equals("-test"))
			{
				// Put your code to simulate the network
				// here.  You should print out at the end
				// of the simulation all of the nodes which
				// are using the product.  
				System.out.println("Put your output as specified in the assignment here.");
				return; // make sure that this return is called!
			}
			
			initialActiveNodes.add(Integer.parseInt(args[i]));
		}

		
		// You are free to do whatever you want here...
		// Bren suggests that you create some helper classes
		// to do the simulation and then run your simulations
		// here.
		System.out.println("This assignment rocks.");
	}

}
