YFONT={'fontsize':24} TITLEFONT={'fontsize':24} TINYFONT={'fontsize':6} TICKFONT={'fontsize':16} # Should we use a timeout penalty? If so, how much? timeout_penalty_on = True timeout_penalty_s = 1 * (12*60*60) # K*12hr penalty print "Timeout penalty: {0} @ {1} seconds".format(timeout_penalty_on, timeout_penalty_s) # Plot averages or medians for runtime? do_average = False print "Plotting", ("average" if do_average else "median"), "runtimes." # Load all the data at once (OLDER data) data = IOUtil.load_old_data(filename_data) # Grab proper iteration data num_agents_list = np.unique(data[:,Col.num_agents]) num_items_list = np.unique(data[:,Col.num_items]) dist_type_list = np.unique(data[:,Col.dist_type]) obj_type_list = np.unique(data[:,Col.obj_type]) dashes = [ '-', # : solid line ':', # : dotted line '-.', # : dashed line '--', # : dash-dot line ] # Make the phase transition graphs
Col.alternate_IP_model_on, ] matplotlib.rcParams['ps.useafm'] = True matplotlib.rcParams['pdf.use14corefonts'] = True matplotlib.rcParams['text.usetex'] = True XFONT={'fontsize':24} YFONT={'fontsize':24} TITLEFONT={'fontsize':24} TINYFONT={'fontsize':6} TICKFONT={'fontsize':16} # Load data data = IOUtil.load(filename_data) # Grab proper iteration data num_agents_list = np.unique(data[:,Col.num_agents]) #num_items_list = np.unique(data[:,Col.num_items]) dist_type_list = np.unique(data[:,Col.dist_type]) obj_type_list = np.unique(data[:,Col.obj_type]) dashes = [ '-.', # : dashed line '-', # : solid line '--', # : dash-dot line ':', # : dotted line ] # Make the phase transition graphs