{ "cells": [ { "cell_type": "code", "execution_count": 1, "metadata": {}, "outputs": [], "source": [ "%matplotlib inline\n", "import pandas as pd\n", "from pandas import DataFrame, Series\n", "import numpy as np\n", "import math\n", "\n", "import seaborn as sns\n", "import matplotlib.pyplot as plt\n", "import matplotlib.patches as mpatches\n", "import matplotlib.colors as colors\n", "from matplotlib.legend_handler import HandlerLine2D, HandlerTuple\n", "from matplotlib.colors import LinearSegmentedColormap\n", "from scipy import stats\n", "import scikit_posthocs as sp\n", "import sys\n", "\n", "from mpl_toolkits.mplot3d import axes3d" ] }, { "cell_type": "code", "execution_count": 2, "metadata": {}, "outputs": [], "source": [ "AllName=\"dataG.pkl\"\n", "ResizesName=\"dataM.pkl\"\n", "ItersName=\"dataL.pkl\"\n", "matrixIt_Total=\"data_L_Total.csv\"\n", "n_cores=20\n", "repet = 5 #CAMBIAR EL NUMERO SEGUN NUMERO DE EJECUCIONES POR CONFIG\n", "\n", "significance_value = 0.05\n", "processes = [2,10,20,40,80,120,160]\n", "\n", "positions = [321, 322, 323, 324, 325]\n", "positions_small = [221, 222, 223, 224]\n", "\n", "labels = ['(1,10)', '(1,20)', '(1,40)', '(1,80)', '(1,120)','(1,160)',\n", " '(10,1)', '(10,20)', '(10,40)', '(10,80)', '(10,120)','(10,160)',\n", " '(20,1)', '(20,10)', '(20,40)', '(20,80)', '(20,120)','(20,160)',\n", " '(40,1)', '(40,10)', '(40,20)', '(40,80)', '(40,120)','(40,160)',\n", " '(80,1)', '(80,10)', '(80,20)', '(80,40)', '(80,120)','(80,160)',\n", " '(120,1)','(120,10)', '(120,20)','(120,40)','(120,80)','(120,160)',\n", " '(160,1)','(160,10)', '(160,20)','(160,40)','(160,80)','(160,120)']\n", "\n", "labelsExpand = ['(1,10)', '(1,20)', '(1,40)', '(1,80)', '(1,120)','(1,160)',\n", " '(10,20)', '(10,40)', '(10,80)', '(10,120)','(10,160)',\n", " '(20,40)', '(20,80)', '(20,120)','(20,160)',\n", " '(40,80)', '(40,120)','(40,160)',\n", " '(80,120)','(80,160)',\n", " '(120,160)']\n", "labelsShrink = ['(10,1)', \n", " '(20,1)', '(20,10)',\n", " '(40,1)', '(40,10)', '(40,20)',\n", " '(80,1)', '(80,10)', '(80,20)', '(80,40)',\n", " '(120,1)','(120,10)', '(120,20)','(120,40)','(120,80)',\n", " '(160,1)','(160,10)', '(160,20)','(160,40)','(160,80)','(160,120)']\n", "\n", "# WORST BEST\n", "labels_dist = ['null', 'SpreadFit', 'CompactFit']\n", " #0 #1 #2 #3\n", "labelsMethods = ['Baseline', 'Baseline single','Baseline - Asynchronous','Baseline single - Asynchronous',\n", " 'Merge','Merge single','Merge - Asynchronous','Merge single - Asynchronous']\n", " #4 #5 #6 #7\n", " \n", "colors_m = ['green','springgreen','blue','darkblue','red','darkred','darkgoldenrod','olive','violet']\n", "linestyle_m = ['-', '--', '-.', ':']\n", "markers_m = ['.','v','s','p', 'h','d','X','P','^']\n", "\n", "OrMult_patch = mpatches.Patch(hatch='', facecolor='green', label='Baseline')\n", "OrSing_patch = mpatches.Patch(hatch='', facecolor='springgreen', label='Baseline single')\n", "OrPthMult_patch = mpatches.Patch(hatch='//', facecolor='blue', label='Baseline - Asyncrhonous')\n", "OrPthSing_patch = mpatches.Patch(hatch='\\\\', facecolor='darkblue', label='Baseline single - Asyncrhonous')\n", "MergeMult_patch = mpatches.Patch(hatch='||', facecolor='red', label='Merge')\n", "MergeSing_patch = mpatches.Patch(hatch='...', facecolor='darkred', label='Merge single')\n", "MergePthMult_patch = mpatches.Patch(hatch='xx', facecolor='yellow', label='Merge - Asyncrhonous')\n", "MergePthSing_patch = mpatches.Patch(hatch='++', facecolor='olive', label='Merge single - Asyncrhonous')\n", "\n", "handles_spawn = [OrMult_patch,OrSing_patch,OrPthMult_patch,OrPthSing_patch,MergeMult_patch,MergeSing_patch,MergePthMult_patch,MergePthSing_patch]" ] }, { "cell_type": "code", "execution_count": 3, "metadata": {}, "outputs": [], "source": [ "dfG = pd.read_pickle( AllName )\n", "\n", "dfG['ADR'] = round((dfG['ADR'] / dfG['DR']) * 100,1)\n", "dfG['SDR'] = round((dfG['SDR'] / dfG['DR']) * 100,1)\n", " \n", "out_group = dfG.groupby(['Groups', 'ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy'])['T_total']\n", "group = dfG.groupby(['ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy','Groups'])['T_total']\n", "\n", "grouped_aggG = group.agg(['median'])\n", "grouped_aggG.rename(columns={'median':'T_total'}, inplace=True) \n", "\n", "out_grouped_G = out_group.agg(['median'])\n", "out_grouped_G.rename(columns={'median':'T_total'}, inplace=True) " ] }, { "cell_type": "code", "execution_count": 4, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/tmp/ipykernel_19307/462116935.py:8: FutureWarning: Indexing with multiple keys (implicitly converted to a tuple of keys) will be deprecated, use a list instead.\n", " out_group = dfM.groupby(['NP','NC','ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy'])['T_Malleability','T_Redistribution','T_spawn','T_spawn_real','T_SR','T_AR']\n", "/tmp/ipykernel_19307/462116935.py:9: FutureWarning: Indexing with multiple keys (implicitly converted to a tuple of keys) will be deprecated, use a list instead.\n", " group = dfM.groupby(['ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy','NP','NC'])['T_Malleability','T_Redistribution','T_spawn','T_spawn_real','T_SR','T_AR']\n" ] } ], "source": [ "dfM = pd.read_pickle( ResizesName )\n", "\n", "dfM['ADR'] = round((dfM['ADR'] / dfM['DR']) * 100,1)\n", "dfM['SDR'] = round((dfM['SDR'] / dfM['DR']) * 100,1)\n", "dfM['T_Redistribution'] = dfM['T_SR'] + dfM['T_AR']\n", "dfM['T_Malleability'] = dfM['T_spawn'] + dfM['T_Redistribution']\n", " \n", "out_group = dfM.groupby(['NP','NC','ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy'])['T_Malleability','T_Redistribution','T_spawn','T_spawn_real','T_SR','T_AR']\n", "group = dfM.groupby(['ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy','NP','NC'])['T_Malleability','T_Redistribution','T_spawn','T_spawn_real','T_SR','T_AR']\n", "\n", "grouped_aggM = group.agg(['median'])\n", "grouped_aggM.columns = grouped_aggM.columns.get_level_values(0)\n", "\n", "out_grouped_M = out_group.agg(['median'])\n", "out_grouped_M.columns = out_grouped_M.columns.get_level_values(0)" ] }, { "cell_type": "code", "execution_count": 5, "metadata": {}, "outputs": [], "source": [ "dfL = pd.read_pickle( ItersName )\n", "\n", "dfL['ADR'] = round((dfL['ADR'] / dfL['DR']) * 100,1)\n", "dfL['SDR'] = round((dfL['SDR'] / dfL['DR']) * 100,1)\n", "dfL['ADR'].fillna(-1, inplace=True)\n", "dfL['SDR'].fillna(-1, inplace=True)\n", "dfL['DR'].fillna(-1, inplace=True)\n", " \n", "aux_df = dfL[(dfL.Asynch_Iters == True)]\n", "group = aux_df.groupby(['ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy','NP','NC'])['T_iter']\n", "grouped_aggLAsynch = group.agg(['median','count'])\n", "grouped_aggLAsynch.columns = grouped_aggLAsynch.columns.get_level_values(0)\n", "grouped_aggLAsynch['T_sum'] = grouped_aggLAsynch['count'] * grouped_aggLAsynch['median'] / repet\n", "grouped_aggLAsynch.rename(columns={'median':'T_iter'}, inplace=True) \n", "group = aux_df.groupby(['ADR','Spawn_Method','Redistribution_Method', 'Redistribution_Strategy','NP','NC'])['T_stages']\n", "aux_column = group.apply(list).apply(lambda x: np.median(x,0))\n", "grouped_aggLAsynch['T_stages'] = aux_column\n", "\n", "aux_df = dfL[(dfL.Asynch_Iters == False)]\n", "group = aux_df.groupby('NP')['T_iter']\n", "grouped_aggLSynch = group.agg(['median'])\n", "grouped_aggLSynch.rename(columns={'median':'T_iter'}, inplace=True)\n", "group = aux_df.groupby(['NP'])['T_stages']\n", "aux_column = group.apply(list).apply(lambda x: np.median(x,0))\n", "grouped_aggLSynch['T_stages'] = aux_column\n", "\n", "aux_df2 = aux_df[(aux_df.Is_Dynamic == True)]\n", "group = aux_df2.groupby(['ADR', 'Spawn_Method','Redistribution_Method', 'Redistribution_Strategy','NP','N_Parents'])['T_iter']\n", "grouped_aggLDyn = group.agg(['median'])\n", "grouped_aggLDyn.rename(columns={'median':'T_iter'}, inplace=True)\n", "group = aux_df2.groupby(['ADR', 'Spawn_Method','Redistribution_Method', 'Redistribution_Strategy','NP','N_Parents'])['T_stages']\n", "aux_column = group.apply(list).apply(lambda x: np.median(x,0))\n", "grouped_aggLDyn['T_stages'] = aux_column\n", "\n", "aux_df2 = aux_df[(aux_df.Is_Dynamic == False)]\n", "group = aux_df2.groupby('NP')['T_iter']\n", "grouped_aggLNDyn = group.agg(['median'])\n", "grouped_aggLNDyn.rename(columns={'median':'T_iter'}, inplace=True)\n", "group = aux_df2.groupby(['NP'])['T_stages']\n", "aux_column = group.apply(list).apply(lambda x: np.median(x,0))\n", "grouped_aggLNDyn['T_stages'] = aux_column" ] }, { "cell_type": "code", "execution_count": 6, "metadata": {}, "outputs": [], "source": [ "from bt_scheme import PartialSolution, BacktrackingSolver\n", "def elegirConf(parameters):\n", " class StatePS(PartialSolution):\n", " def __init__(self, config):\n", " self.config= config\n", " self.n= len(config) #Indica el valor a añadir\n", "\n", " def is_solution(self):\n", " return self.n == len(parameters)\n", "\n", " def get_solution(self):\n", " return tuple(self.config)\n", "\n", " def successors(self):\n", " array = parameters[self.n]\n", " for parameter_value in array: #Test all values of the next parameter\n", " self.config.append(parameter_value)\n", " yield StatePS(self.config)\n", " self.config.pop()\n", "\n", " initialPs= StatePS([])\n", " return BacktrackingSolver().solve(initialPs)\n", "\n", "\n", "def obtenerConfs(parameters):\n", " soluciones=[]\n", " for solucion in elegirConf(parameters):\n", " soluciones.append(solucion)\n", " return soluciones\n", "\n", "def modifyToGlobal(parameters, len_parameters, configuration):\n", " usable_configuration = []\n", " for i in range(len(parameters)):\n", " if len_parameters[i] > 1:\n", " aux = (parameters[i][0], configuration[i])\n", " else:\n", " aux = (configuration[i])\n", " usable_configuration.append(aux)\n", " \n", " return usable_configuration\n", "\n", "def modifyToLocalDynamic(parameters, len_parameters, configuration):\n", " usable_configuration = []\n", " for i in range(len(parameters)):\n", " if len_parameters[i] > 1:\n", " aux = (configuration[i], -1)\n", " else:\n", " aux = (-1)\n", " usable_configuration.append(aux)\n", " \n", " return tuple(usable_configuration)\n", "\n", "def CheckConfExists(configuration, dataSet, type_conf='global'):\n", " exists = False\n", " config = list(configuration)\n", " for np_aux in processes:\n", " for ns_aux in processes:\n", " if np_aux != ns_aux:\n", " \n", " if type_conf == 'global':\n", " config.append((np_aux, ns_aux))\n", " elif type_conf == 'malleability':\n", " config.append(np_aux)\n", " config.append(ns_aux)\n", " elif type_conf == 'local':\n", " config.append(np_aux)\n", " \n", " if tuple(config) in dataSet.index: \n", " exists = True # FIXME Return here true?\n", " config.pop()\n", " \n", " if type_conf == 'malleability':\n", " config.pop()\n", " return exists" ] }, { "cell_type": "code", "execution_count": 7, "metadata": {}, "outputs": [ { "name": "stdout", "output_type": "stream", "text": [ "[[0, 0, 0, 1], [0, 0, 1, 1], [0, 1, 0, 1], [0, 1, 1, 1], [96.6, 0, 0, 1], [96.6, 0, 0, 2], [96.6, 0, 1, 1], [96.6, 0, 1, 2], [96.6, 1, 0, 1], [96.6, 1, 0, 2], [96.6, 1, 1, 1], [96.6, 1, 1, 2]]\n", "[[-1, (0, -1), (1, -1), (2, -1)], [-1, (0, -1), (0, -1), (2, -1)], [-1, (1, -1), (0, -1), (2, -1)], [-1, (1, -1), (1, -1), (1, -1)], [-1, (0, -1), (1, -1), (1, -1)], [-1, (0, -1), (0, -1), (1, -1)], [-1, (1, -1), (1, -1), (2, -1)], [-1, (1, -1), (0, -1), (1, -1)]]\n", "[[0, (0, 0), (0, 0), (1, 1)], [0, (0, 0), (0, 1), (1, 1)], [0, (0, 1), (0, 0), (1, 1)], [0, (0, 1), (0, 1), (1, 1)], [96.6, (0, 0), (0, 0), (1, 1)], [96.6, (0, 0), (0, 0), (1, 2)], [96.6, (0, 0), (0, 1), (1, 1)], [96.6, (0, 0), (0, 1), (1, 2)], [96.6, (0, 1), (0, 0), (1, 1)], [96.6, (0, 1), (0, 0), (1, 2)], [96.6, (0, 1), (0, 1), (1, 1)], [96.6, (0, 1), (0, 1), (1, 2)]]\n", "12\n" ] } ], "source": [ "adr = [0,96.6]\n", "sp_method = [0,1]\n", "rd_method = [0,1]\n", "rd_strat = [1,2]\n", "parameters = [adr, sp_method, rd_method, rd_strat]\n", "parameters_names = ['ADR', 'Spawn_Method', 'Redistribution_Method', 'Redistribution_Strategy']\n", "len_parameters = [1,2,2,2]\n", "configurations_aux = obtenerConfs(parameters)\n", "configurations = []\n", "configurations_local_dynamic = set()\n", "configurations_local = set()\n", "configurations_simple = []\n", "for checked_conf in configurations_aux:\n", " aux_conf = modifyToGlobal(parameters, len_parameters, checked_conf)\n", " if CheckConfExists(aux_conf, grouped_aggG):\n", " configurations.append(aux_conf)\n", "\n", " if CheckConfExists(checked_conf, grouped_aggM, 'malleability'):\n", " configurations_simple.append(list(checked_conf))\n", " \n", " aux_conf = modifyToLocalDynamic(parameters, len_parameters, checked_conf)\n", " if CheckConfExists(aux_conf, grouped_aggLDyn, 'local'):\n", " configurations_local_dynamic.add(aux_conf)\n", "\n", "configurations_local_dynamic = list(configurations_local_dynamic)\n", "for index in range(len(configurations_local_dynamic)):\n", " configurations_local_dynamic[index] = list(configurations_local_dynamic[index])\n", "\n", "print(configurations_simple)\n", "print(configurations_local_dynamic)\n", "print(configurations)\n", "print(len(configurations))" ] }, { "cell_type": "code", "execution_count": 8, "metadata": {}, "outputs": [], "source": [ "#ALPHA COMPUTATION\n", "def compute_alpha(config_a, config_b):\n", " for np_aux in processes:\n", " for ns_aux in processes:\n", " if np_aux != ns_aux:\n", " config_a.append(np_aux)\n", " config_a.append(ns_aux)\n", " config_b.append(np_aux)\n", " config_b.append(ns_aux)\n", " grouped_aggM.loc[tuple(config_b),'Alpha'] = grouped_aggM.loc[tuple(config_b),'T_Malleability'] / grouped_aggM.loc[tuple(config_a),'T_Malleability']\n", " config_a.pop()\n", " config_a.pop()\n", " config_b.pop()\n", " config_b.pop()\n", " \n", " \n", " config_a.insert(0,ns_aux)\n", " config_a.insert(0,np_aux)\n", " config_b.insert(0,ns_aux)\n", " config_b.insert(0,np_aux)\n", " out_grouped_M.loc[tuple(config_b),'Alpha'] = out_grouped_M.loc[tuple(config_b),'T_Malleability'] / out_grouped_M.loc[tuple(config_a),'T_Malleability']\n", " config_a.pop(0)\n", " config_a.pop(0)\n", " config_b.pop(0)\n", " config_b.pop(0)\n", "\n", "if not ('Alpha' in grouped_aggM.columns):\n", " for config_a in configurations_simple:\n", " for config_b in configurations_simple:\n", " if config_a[1:-1] == config_b[1:-1] and config_a[0] == 0 and config_b[0] != 0:\n", " compute_alpha(config_a, config_b)\n", "else:\n", " print(\"ALPHA already exists\")" ] }, { "cell_type": "code", "execution_count": 9, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/home/usuario/miniconda3/lib/python3.9/site-packages/pandas/core/algorithms.py:1537: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", " return arr.searchsorted(value, side=side, sorter=sorter) # type: ignore[arg-type]\n", "/home/usuario/miniconda3/lib/python3.9/site-packages/pandas/core/algorithms.py:1537: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", " return arr.searchsorted(value, side=side, sorter=sorter) # type: ignore[arg-type]\n" ] } ], "source": [ "#OMEGA COMPUTATION\n", "def compute_omega(config):\n", " for np_aux in processes:\n", " for ns_aux in processes:\n", " if np_aux != ns_aux:\n", " if len(config) > len(parameters):\n", " config.pop()\n", " config.pop()\n", " config.append(np_aux)\n", " config.append(ns_aux)\n", " grouped_aggLAsynch.at[tuple(config),'Omega'] = grouped_aggLAsynch.at[tuple(config),'T_iter'] / grouped_aggLSynch.at[np_aux,'T_iter']\n", " value = grouped_aggLAsynch.at[tuple(config),'T_stages'] / grouped_aggLSynch.at[np_aux,'T_stages']\n", " grouped_aggLAsynch.at[tuple(config),'Omega_Stages'] = value.astype(object)\n", " config.pop()\n", " config.pop()\n", "\n", "if not ('Omega' in grouped_aggLAsynch.columns):\n", " for config in configurations:\n", " if config[0] != 0:\n", " compute_omega(config)\n", "else:\n", " print(\"OMEGA already exists\")" ] }, { "cell_type": "code", "execution_count": 10, "metadata": {}, "outputs": [ { "name": "stderr", "output_type": "stream", "text": [ "/home/usuario/miniconda3/lib/python3.9/site-packages/pandas/core/algorithms.py:1537: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", " return arr.searchsorted(value, side=side, sorter=sorter) # type: ignore[arg-type]\n", "/home/usuario/miniconda3/lib/python3.9/site-packages/pandas/core/algorithms.py:1537: VisibleDeprecationWarning: Creating an ndarray from ragged nested sequences (which is a list-or-tuple of lists-or-tuples-or ndarrays with different lengths or shapes) is deprecated. If you meant to do this, you must specify 'dtype=object' when creating the ndarray.\n", " return arr.searchsorted(value, side=side, sorter=sorter) # type: ignore[arg-type]\n" ] } ], "source": [ "#Dynamic Coherence COMPUTATION\n", "def compute_dyn_coherency(config):\n", " for np_aux in processes:\n", " for n_parents_aux in processes:\n", " if np_aux != n_parents_aux:\n", " config.append(np_aux)\n", " config.append(n_parents_aux)\n", " grouped_aggLDyn.at[tuple(config),'Dyn_Coherency'] = grouped_aggLDyn.at[tuple(config),'T_iter'] / grouped_aggLNDyn.at[np_aux,'T_iter']\n", " value = grouped_aggLDyn.at[tuple(config),'T_stages'] / grouped_aggLNDyn.at[np_aux,'T_stages']\n", " grouped_aggLDyn.at[tuple(config),'Dyn_Coherency_Stages'] = value.astype(object)\n", " config.pop()\n", " config.pop()\n", "\n", "if not ('Dyn_Coherency' in grouped_aggLDyn.columns):\n", " for config in configurations_local_dynamic:\n", " compute_dyn_coherency(config)\n", "else:\n", " print(\"Dyn_Coherency already exists\")" ] }, { "cell_type": "code", "execution_count": null, "metadata": {}, "outputs": [], "source": [] }, { "cell_type": "code", "execution_count": 68, "metadata": {}, "outputs": [], "source": [ "out_grouped_G.to_excel(\"resultG.xlsx\") \n", "out_grouped_M.to_excel(\"resultM.xlsx\") \n", "grouped_aggLAsynch.to_excel(\"AsynchIters.xlsx\")\n", "grouped_aggLDyn.to_excel(\"DynCoherence.xlsx\")" ] }, { "cell_type": "code", "execution_count": 101, "metadata": {}, "outputs": [ { "data": { "text/html": [ "
\n", " | T_iter | \n", "T_stages | \n", "
---|---|---|
NP | \n", "\n", " | \n", " |
2 | \n", "0.633368 | \n", "[0.62166, 3.2e-05, 2e-06, 0.011353] | \n", "
10 | \n", "0.141878 | \n", "[0.123063, 4.4e-05, 5e-06, 0.018725] | \n", "
20 | \n", "0.100381 | \n", "[0.071352, 9.8e-05, 6e-06, 0.028533] | \n", "
40 | \n", "0.081748 | \n", "[0.035681, 0.000212, 8.4e-05, 0.045265] | \n", "
80 | \n", "0.070729 | \n", "[0.018738, 0.000522, 0.000155, 0.05006] | \n", "
120 | \n", "0.069799 | \n", "[0.013387, 0.00101, 0.000148, 0.053359] | \n", "
160 | \n", "0.069249 | \n", "[0.010712, 0.001345, 0.000194, 0.054343] | \n", "
\n", " | NP | \n", "NC | \n", "Total_Stages | \n", "Granularity | \n", "SDR | \n", "ADR | \n", "DR | \n", "Redistribution_Method | \n", "Redistribution_Strategy | \n", "Spawn_Method | \n", "... | \n", "T_iter | \n", "T_stages | \n", "T_spawn | \n", "T_spawn_real | \n", "T_SR | \n", "T_AR | \n", "T_Redistribution | \n", "T_Malleability | \n", "Resize_Coherency | \n", "Resize_Coherency2 | \n", "
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
885 | \n", "160 | \n", "80 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "1 | \n", "1 | \n", "1 | \n", "... | \n", "(0.138975, 0.138623, 0.145609, 0.143285, 0.135... | \n", "((0.010725, 0.000534, 5e-05, 0.116726), (0.010... | \n", "0.699991 | \n", "0.0 | \n", "1.033815 | \n", "1.107374 | \n", "2.141189 | \n", "2.841180 | \n", "False | \n", "True | \n", "
886 | \n", "160 | \n", "80 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "1 | \n", "1 | \n", "1 | \n", "... | \n", "(0.144654, 0.134697, 0.144184, 0.139219, 0.143... | \n", "((0.010724, 0.000413, 0.000297, 0.122341), (0.... | \n", "0.289433 | \n", "0.0 | \n", "1.024005 | \n", "1.102639 | \n", "2.126644 | \n", "2.416077 | \n", "False | \n", "True | \n", "
897 | \n", "120 | \n", "10 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "1 | \n", "1 | \n", "1 | \n", "... | \n", "(0.137209, 0.149927, 0.148071, 0.153846, 0.161... | \n", "((0.013391, 0.000532, 0.000137, 0.113001), (0.... | \n", "1.103932 | \n", "0.0 | \n", "0.260267 | \n", "2.895040 | \n", "3.155307 | \n", "4.259239 | \n", "False | \n", "True | \n", "
971 | \n", "120 | \n", "10 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "0 | \n", "1 | \n", "1 | \n", "... | \n", "(0.171813, 0.159961, 0.133724, 0.160519, 0.143... | \n", "((0.013379, 0.000184, 0.000238, 0.136431), (0.... | \n", "1.231894 | \n", "0.0 | \n", "0.427662 | \n", "3.007701 | \n", "3.435363 | \n", "4.667257 | \n", "False | \n", "True | \n", "
974 | \n", "120 | \n", "10 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "0 | \n", "1 | \n", "1 | \n", "... | \n", "(0.153822, 0.140212, 0.149297, 0.35497, 0.1534... | \n", "((0.013389, 0.000274, 0.000135, 0.132982), (0.... | \n", "0.254933 | \n", "0.0 | \n", "0.296134 | \n", "2.913244 | \n", "3.209378 | \n", "3.464311 | \n", "False | \n", "True | \n", "
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
2274 | \n", "40 | \n", "120 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "1 | \n", "1 | \n", "0 | \n", "... | \n", "(0.166288, 0.16779, 0.178504, 0.142442, 0.1775... | \n", "((0.035714, 0.000122, 7.6e-05, 0.127336), (0.0... | \n", "1.519905 | \n", "0.0 | \n", "0.111995 | \n", "1.895083 | \n", "2.007078 | \n", "3.526983 | \n", "False | \n", "False | \n", "
2400 | \n", "120 | \n", "80 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "0 | \n", "1 | \n", "0 | \n", "... | \n", "(0.149358, 0.153831, 0.153943, 0.1395, 0.14954... | \n", "((0.013389, 0.000142, 0.000235, 0.127162), (0.... | \n", "1.678422 | \n", "0.0 | \n", "3.449985 | \n", "1.655973 | \n", "5.105958 | \n", "6.784380 | \n", "False | \n", "False | \n", "
2414 | \n", "20 | \n", "10 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "0 | \n", "1 | \n", "0 | \n", "... | \n", "(0.110498, 0.098226, 0.097971, 0.09784, 0.0977... | \n", "((0.071338, 7.9e-05, 6e-06, 0.039075), (0.0713... | \n", "1.112722 | \n", "0.0 | \n", "0.371996 | \n", "2.023996 | \n", "2.395992 | \n", "3.508714 | \n", "False | \n", "False | \n", "
2427 | \n", "10 | \n", "160 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "0 | \n", "1 | \n", "0 | \n", "... | \n", "(0.160399, 0.142582, 0.142452, 0.142528, 0.142... | \n", "((0.123088, 8e-05, 4e-06, 0.03722), (0.12307, ... | \n", "2.127073 | \n", "0.0 | \n", "1.588013 | \n", "3.185545 | \n", "4.773558 | \n", "6.900631 | \n", "False | \n", "True | \n", "
2438 | \n", "10 | \n", "120 | \n", "4 | \n", "100000 | \n", "3.4 | \n", "96.6 | \n", "3947883503 | \n", "1 | \n", "1 | \n", "1 | \n", "... | \n", "(0.157493, 0.1416, 0.141205, 0.141221, 0.14124... | \n", "((0.123101, 1.2e-05, 4e-06, 0.034375), (0.1230... | \n", "1.007496 | \n", "0.0 | \n", "0.049457 | \n", "3.269911 | \n", "3.319368 | \n", "4.326864 | \n", "False | \n", "True | \n", "
81 rows × 28 columns
\n", "\n", " | \n", " | \n", " | \n", " | \n", " | T_total | \n", "
---|---|---|---|---|---|
ADR | \n", "Spawn_Method | \n", "Redistribution_Method | \n", "Redistribution_Strategy | \n", "Groups | \n", "\n", " |
0.0 | \n", "(0, 0) | \n", "(0, 0) | \n", "(1, 1) | \n", "(10, 2) | \n", "396.244297 | \n", "
(20, 2) | \n", "323.197388 | \n", "||||
(20, 10) | \n", "122.029776 | \n", "||||
(40, 2) | \n", "363.054878 | \n", "||||
(40, 10) | \n", "115.773127 | \n", "||||
... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "... | \n", "
96.6 | \n", "(0, 1) | \n", "(0, 1) | \n", "(1, 2) | \n", "(160, 10) | \n", "110.560542 | \n", "
(160, 20) | \n", "91.163625 | \n", "||||
(160, 40) | \n", "85.075558 | \n", "||||
(160, 80) | \n", "73.307185 | \n", "||||
(160, 120) | \n", "69.804638 | \n", "
252 rows × 1 columns
\n", "