public static void setArgParam(String key, String value) {
		
		if(key.equals("traffic_pattern")) {
			setParam(key, TrafficType.valueOf(value.toUpperCase()));
		}
		
		else if(key.equals("routing")) {
			setParam(key, RoutingType.valueOf(value.toUpperCase()));
		}
		
		else if(key.equals("faults")) {
			setParam(key, Double.parseDouble(value));
		}
		
		else if(key.equals("num_nodes")) {
			setParam(key, Integer.parseInt(value));
		}
		
		else if(key.equals("p")) {
			setParam(key, Double.parseDouble(value));
		}
		
		else if(key.equals("d")) {
			setParam(key, Integer.parseInt(value));
		}
		
		else if(key.equals("m")) {
			setParam(key, Integer.parseInt(value));
		}
		
		else if(key.equals("steps")) {
			setParam(key, Integer.parseInt(value));
		}
	}