// Path: src/individualBasedModel/ModelType.java
// public enum ModelType {
// 	SI, SIR, SEIR
// }
// 
// Path: src/individualBasedModel/PopulationType.java
// public enum PopulationType {
// 	FULL, RANDOM, LINE, STAR, NETWORK
// }


import individualBasedModel.ModelType;
import individualBasedModel.PopulationType;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;
		simType = chooseASetting(question, choices, explains);
		if (simType == null) {
			System.out.println("** Done **");
		} else {
			if (simType.equals("ONE-DEME")) {
				writer = new WriteNetworkShapeConfigurationXML();
			} else if (simType.equals("TWO-DEME")) {
				writer = new WriteNetworkShapeConfigurationXML();
			} else if (simType.equals("SHAPED-NETWORK")) {
				writer = new WriteNetworkShapeConfigurationXML();
			} else if (simType.equals("GENERAL-NETWORK")) {
				writer = new WriteNetworkConfigurationXML();
			} else if (simType.equals("STRUCTURED-POPULATION")) {
				writer = new WriteStructuredPopulationConfigurationXML();
			} else {
				System.out.println("Sorry cant understand "+simType);
				writer = null;
			}
		}
		
	}
	
	private static void setModelType() {
		
		System.out.println("Typical model type = SIR with infection parameters = 0.1, 0.05");
		
		String question 	 	= "Please enter model type";
		List<String> choices 	= new ArrayList<String>();
		List<String> explains 	= new ArrayList<String>();
		
// Path: src/individualBasedModel/ModelType.java
// public enum ModelType {
// 	SI, SIR, SEIR
// }
// 
// Path: src/individualBasedModel/PopulationType.java
// public enum PopulationType {
// 	FULL, RANDOM, LINE, STAR, NETWORK
// }


// Path: src/io/DSPSConfigurationWriter.java
import individualBasedModel.ModelType;
import individualBasedModel.PopulationType;
import java.util.ArrayList;
import java.util.List;
import java.util.Scanner;

		simType = chooseASetting(question, choices, explains);
		if (simType == null) {
			System.out.println("** Done **");
		} else {
			if (simType.equals("ONE-DEME")) {
				writer = new WriteNetworkShapeConfigurationXML();
			} else if (simType.equals("TWO-DEME")) {
				writer = new WriteNetworkShapeConfigurationXML();
			} else if (simType.equals("SHAPED-NETWORK")) {
				writer = new WriteNetworkShapeConfigurationXML();
			} else if (simType.equals("GENERAL-NETWORK")) {
				writer = new WriteNetworkConfigurationXML();
			} else if (simType.equals("STRUCTURED-POPULATION")) {
				writer = new WriteStructuredPopulationConfigurationXML();
			} else {
				System.out.println("Sorry cant understand "+simType);
				writer = null;
			}
		}
		
	}
	
	private static void setModelType() {
		
		System.out.println("Typical model type = SIR with infection parameters = 0.1, 0.05");
		
		String question 	 	= "Please enter model type";
		List<String> choices 	= new ArrayList<String>();
		List<String> explains 	= new ArrayList<String>();
		
		for (ModelType mt : ModelType.values()) {