Advertisement
MdSadmanSiraj

hedonic_games_plots_data.py

Jan 24th, 2023 (edited)
141
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 12.52 KB | None | 0 0
  1. User Information:
  2. [5.8 7.5 4.6 2.1 4.4 5.1 5.2 9.9 4.5 6.1 6.9 3.3 9.2 8.8 5.4 8.5 1.2 3.1
  3.  7.2 2.7]
  4.  
  5. final_utilties_data = [[352.90002371654697, 948.0714003590664, 948.0714003590664],
  6.  [120.20187265490682, 1134.3002237488317, 1134.3002237488317],
  7.  [503.7604123472521, 528.0845822679216, 528.0845822679216],
  8.  [278.2969108760801, 399.9327195420938, 399.9327195420938],
  9.  [163.00119103172216, 181.20135593610456, 197.33157075040475],
  10.  [1247.446108431687, 1247.446108431687, 1247.446108431687],
  11.  [103.74684619988034, 763.9334309974392, 763.9334309974392],
  12.  [549.5809575686873, 549.5809575686873, 549.5809575686873],
  13.  [975.4224397926337, 975.4224397926337, 975.4224397926337],
  14.  [85.64631709935125, 531.3495792536045, 531.3495792536045],
  15.  [443.01847686338095, 443.01847686338095, 486.0674553529245],
  16.  [77.418803871838, 419.07445206818704, 419.07445206818704],
  17.  [764.0829929924132, 764.0829929924132, 764.0829929924132],
  18.  [416.9862187988649, 416.9862187988649, 416.9862187988649],
  19.  [1610.1443332837582, 1610.1443332837582, 1610.1443332837582],
  20.  [400.3747318877533, 400.3747318877533, 401.2224679987875],
  21.  [57.67277212580623, 284.6430062816176, 284.6430062816176],
  22.  [82.35531180834596, 367.14483542788753, 367.14483542788753],
  23.  [95.51933297236712, 409.5512626386686, 409.5512626386686],
  24.  [564.502347831123, 564.502347831123, 564.502347831123]]
  25.  
  26. Coalition Rewards:
  27. [1000. 2000. 3000. 4000.]
  28.  
  29. Coalition Sizes:
  30. [1.674 2.926 4.995 7.405]
  31.  
  32. Area Criticalities:
  33. [1.1913262  1.24055613 1.30210472 1.36178557]
  34.  
  35.  
  36. # User info fraction - utility
  37. # dictionary structure
  38. { 'coalition_name': [id_users], [user_info_sum], [user_info], [user_info_frac], [user_utility] }
  39. {'A': [[12, 16],
  40.   11.100000000000001,
  41.   [9.9, 1.2000000000000002],
  42.   [0.8918918918918918, 0.10810810810810811],
  43.   [792.9862256803319, 96.20244189654825]],
  44.  'B': [[11, 14, 17],
  45.   22.8,
  46.   [5.3, 5.4, 12.100000000000001],
  47.   [0.23245614035087717, 0.2368421052631579, 0.530701754385965],
  48.   [412.17440902456786, 419.94633884912935, 940.6656370947435]],
  49.  'C': [[13, 18, 1, 5, 6, 10],
  50.   37.7,
  51.   [8.8, 4.199999999999999, 7.5, 5.1, 5.2, 6.9],
  52.   [0.23342175066312998,
  53.    0.11140583554376655,
  54.    0.1989389920424403,
  55.    0.1352785145888594,
  56.    0.13793103448275862,
  57.    0.1830238726790451],
  58.   [612.8917963550841,
  59.    292.8440509969938,
  60.    522.4435204930151,
  61.    355.4620881322723,
  62.    362.41964781397,
  63.    480.69816240282944]],
  64.  'D': [[2, 15, 19, 0, 3, 4, 7, 8, 9],
  65.   49.400000000000006,
  66.   [4.6, 8.5, 4.5, 5.8, 2.1, 4.3999999999999995, 9.9, 4.5, 5.1],
  67.   [0.09311740890688257,
  68.    0.1720647773279352,
  69.    0.09109311740890687,
  70.    0.11740890688259108,
  71.    0.04251012145748988,
  72.    0.08906882591093115,
  73.    0.20040485829959512,
  74.    0.09109311740890687,
  75.    0.10323886639676111],
  76.   [327.2399909817397,
  77.    604.0294646659503,
  78.    320.14282498983687,
  79.    412.40598288457375,
  80.    149.81084118416894,
  81.    313.045658997934,
  82.    703.3897885525898,
  83.    320.14282498983687,
  84.    362.72582094125386]]}
  85.  
  86. Initial User Utilities:
  87. [458.60506787, 576.50310996, 372.41381369, 159.81572396, 357.38654343,
  88.  409.39774373, 417.76263937, 716.84951888, 364.60749317, 483.08381152,
  89.  534.77703214, 266.50114758, 678.37092079, 653.3623049,  433.92282238,
  90.  634.00465196,  71.2980763,  248.48663595, 554.02498881, 214.84894527]
  91.  
  92. Final User Utilities:
  93. [449.6855445,  598.48355682, 343.46341179, 124.66413194, 324.93249085,
  94.  386.78142803, 395.44090691, 809.83246149, 334.64061506, 476.27078819,
  95.  547.37763994, 230.52011032, 752.34487756, 719.43960353, 420.21302654,
  96.  698.69941251,  46.18308375, 215.89721624, 585.30471895, 180.74864547]
  97.  
  98. final_utilities_mc_avg_plot = [
  99.  46.183083753229184,
  100.  124.66413193769345,
  101.  180.7486454736881,
  102.  215.897216242432,
  103.  230.52011031815837,
  104.  324.93249085408974,
  105.  334.64061506235504,
  106.  343.4634117940328,
  107.  386.7814280272358,
  108.  395.44090691467693,
  109.  420.21302653715225,
  110.  449.6855445007468,
  111.  476.2707881909947,
  112.  547.3776399405127,
  113.  585.3047189515303,
  114.  598.4835568190834,
  115.  698.6994125054575,
  116.  719.4396035336888,
  117.  752.3448775603574,
  118.  809.8324614875046
  119. ]
  120.  
  121. switching_operations = [
  122.     [2, 4, 7, 12, 17, 24, 32, 40, 47, 55],
  123.     [66, 76, 88, 103, 118, 130, 147, 165, 180, 195],
  124.     [215, 240, 252, 279, 301, 330, 350, 371, 409, 429],
  125.     [461, 476, 526, 541, 577, 610, 638, 687, 711, 753],
  126.     [785, 829, 867, 890, 952, 993, 1029, 1075, 1106, 1163],
  127.     [1212, 1242, 1325, 1343, 1415, 1447, 1489, 1572, 1606, 1654],
  128.     [1712, 1778, 1827, 1914, 1941, 2058, 2063, 2130, 2216, 2237],
  129.     [2343, 2427, 2436, 2500, 2551, 2694, 2727, 2833, 2914, 2962],
  130.     [2992, 3120, 3177, 3228, 3374, 3414, 3461, 3540, 3646, 3747],
  131.     [3792, 3876, 3994, 4037, 4192, 4268, 4360, 4475, 4545, 4651]
  132. ]
  133.  
  134. # Final Utilities for Comparison:
  135. final_utilities_hedonic = [
  136. [3933.6110222371244, 3428.468231719787, 2821.485464584698, 2189.8929962197817, 1773.238281031829, 1524.9226609288635, 1347.4606639065314, 1181.1140461586865, 1042.9602592220147, 931.9650059814516]
  137. [841.1010593740967, 765.607203997369, 701.3340452611104, 646.391996159641, 598.9212732245065, 557.3291112772162, 520.3772182165483, 487.7773484510358, 458.334523011008, 431.98192867647305]
  138. [408.38921869352504, 386.4944866940922, 366.5668731309596, 348.88665531696023, 332.10627051559624, 316.7902706751283, 302.49007009774965, 289.3604535597734, 276.7483691416532, 265.3268881449831]
  139. [254.43981675656295, 244.67296391273297, 234.8959320076563, 226.04425366126372, 217.71057971768042, 209.8218291627124, 202.3952102478394, 195.09818831302684, 188.4522410197198, 182.27553148142718]
  140. [175.92994697209753, 170.3399387137479, 164.81819472812552, 159.49565391201975, 154.23074382043578, 149.5700711954816, 144.83839831373984, 140.46164416616782, 136.24797098688455, 132.02990247783427]
  141. [128.2546802054251, 124.43049083918186, 120.75035868434205, 117.2288665322643, 113.76266891835625, 110.79525721941128, 107.59896960864265, 104.61253016395472, 101.62931750561164, 98.77484772419352]
  142. [95.88850365509215, 93.19304538705778, 90.76702098328246, 88.33134215485191, 85.92224013191584, 83.54205672230897, 81.42115046699783, 78.98539893535022, 77.02351630573814, 74.82898689573162]
  143. [72.79563445333976, 70.93936217438696, 69.10531810899003, 67.18701283105935, 65.25287609379349, 63.669808409234875, 61.89060806101805, 60.274808125510695, 58.57329685089373, 56.89668070662685]
  144. [55.59984023240872, 53.960580801946556, 52.411244544622065, 51.0658835901313, 49.727227583131906, 48.35322697459684, 47.0191052703677, 45.64267523681714, 44.46050497483544, 43.189967112559806]
  145. [42.01391739728577, 40.65126995260772, 39.73807606672778, 38.4232016472685, 37.31151590001813, 36.25867889639423, 35.12274337191754, 34.12187713441061, 33.07761828557201, 31.989030710656646]
  146. ]
  147.  
  148. final_utilities_random = [
  149. [2396.311979469695, 2058.094939564784, 1795.94417387826, 1587.5606549680092, 1421.7592325121357, 1265.394693820467, 1125.8838160357727, 1032.0174655366188, 929.5634917283517, 839.7225202049304]
  150. [761.8569201282255, 699.6026732701939, 646.7547520829112, 598.5863132285184, 555.0009596632472, 514.9694810705412, 480.82501002660183, 448.51068048572176, 421.0003821413427, 393.57787952731655]
  151. [370.7956109384124, 349.93919305464755, 330.2487444770745, 311.9392808111481, 296.533533511124, 281.11335757258, 265.09741614739164, 253.139788623198, 241.26383643680137, 229.3682229715812]
  152. [219.32794620603252, 207.75708108890194, 199.5078809521473, 189.79345673552348, 181.616681041772, 172.4782059361466, 165.04486331810946, 159.50809544928677, 153.14599499277713, 145.43346434231748]
  153. [140.17706611614108, 134.5961162657457, 127.72369746013169, 122.72514561854334, 118.609726259856, 112.10277766579296, 109.11429750809135, 104.71646357198046, 101.08516850266918, 95.04171527058747]
  154. [90.76647660801585, 89.06422094708803, 84.25122720457972, 80.13292592528765, 77.89723484617235, 74.32791481820503, 72.46668224997002, 68.68188554552457, 66.40440455113678, 63.20299729959029]
  155. [58.696667861312136, 56.56553272386338, 54.64639338887622, 50.78068115670748, 50.31766616306603, 46.33414777412847, 45.01303771360148, 43.42022387398011, 41.28215387859877, 39.35407974942825]
  156. [37.34989636050345, 35.59048030698024, 32.93634301407283, 29.956917815414258, 30.04507732413146, 27.06267416031989, 25.231721805491897, 23.840412256325227, 21.878792139245647, 21.373490381916564]
  157. [19.74995608061642, 18.08986466604125, 16.74315711791947, 15.283781990137513, 12.530779349629888, 13.022164918420392, 9.682671497804671, 10.019128360363673, 7.778958142116433, 7.459652921218134]
  158. [5.210350406963144, 4.675410360896307, 3.1892974714124183, 2.8317934667715603, 1.393488848532575, -0.2020068231374137, -1.696970949410681, -1.7020840855578565, -2.910057024475353, -3.342078508180801]
  159. ]
  160.  
  161. final_utilities_reward = [
  162. [3933.6110222371244, 1932.3189227002365, 1266.3181901295231, 932.6160639238003, 732.5342075027764, 599.4371678459046, 503.85774292165854, 432.7934503530521, 376.85750451153046, 332.51855179506146]
  163. [296.1896173238135, 266.15559731521205, 240.34199172945782, 218.36134217229863, 199.47234488708557, 182.87871078115523, 167.98352804031364, 154.9983193130364, 143.09852545231882, 132.53490237265927]
  164. [123.23097759605385, 114.32051298391156, 106.25589438958613, 99.44215996148387, 92.65488617492217, 86.57618630461138, 80.82429335355218, 75.62419668913634, 70.40587156568859, 65.87709382632639]
  165. [61.43950227799001, 57.73076989600577, 53.62797588368417, 50.137918261898676, 46.834552351400575, 43.70830970027216, 40.786774921742825, 37.757603223826095, 35.15749300413788, 32.82829591399604]
  166. [30.137933212929788, 28.039082239234002, 25.830853062258672, 23.685483496544418, 21.446585897863233, 19.68522561096583, 17.728353060877485, 16.016363687953934, 14.352274602806933, 12.577937015558016]
  167. [11.153699799853813, 9.604092195527844, 8.102304009093425, 6.672245886050036, 5.2343961611903485, 4.211201100242165, 2.890674814748007, 1.7160451500627518, 0.487727622900069, -0.672336006018373]
  168. [-1.9193804393768037, -3.028431539802985, -3.917504275348931, -4.870822408381663, -5.82829263545454, -6.8193118396903465, -7.583997144454983, -8.69701963874835, -9.378333688568413, -10.326537806377651]
  169. [-11.16554905832259, -11.843525633858318, -12.538747427308818, -13.336607169024898, -14.193144390662448, -14.726100647429455, -15.475910455651858, -16.09508857220241, -16.831652066522608, -17.560715056738346]
  170. [-17.92225201380228, -18.65934705159282, -19.328722170190343, -19.81043869736757, -20.310641922454565, -20.86226002059541, -21.388772136088868, -21.98857262169351, -22.404671184017456, -22.924835293410663]
  171. [-23.369798590040133, -24.015648859456725, -24.23078038603092, -24.85557437991968, -25.302711856024025, -25.68993460877947, -26.19368624257421, -26.551724732237528, -26.98455895452003, -27.4590422957104]
  172. ]
  173.  
  174. final_utilities_criticality = [
  175. [932.5819999999844, 431.2969999999934, 265.2939999999986, 181.59700000000333, 131.5126000000001, 98.42066666666726, 74.2641428571427, 56.76799999999904, 42.488888888888965, 31.490199999999973]
  176. [22.44127272727271, 15.131499999999898, 8.548076923076929, 3.0599285714285656, -1.5530666666666677, -5.643624999999945, -9.506294117647055, -12.694333333333363, -15.821263157894768, -18.489299999999997]
  177. [-20.65452380952383, -23.0672272727273, -25.209999999999965, -26.585666666666846, -28.364200000000064, -29.835269230769264, -31.316592592592585, -32.53914285714279, -34.067758620689695, -35.142800000000015]
  178. [-36.354, -37.049000000000696, -38.30212121212118, -39.13447058823528, -39.904514285714214, -40.65033333333329, -41.32005405405407, -42.216447368421036, -42.78774358974353, -43.1969]
  179. [-44.05421951219512, -44.41759523809525, -44.95455813953491, -45.522636363636465, -46.240866666666676, -46.553673913043454, -47.12197872340424, -47.5117708333331, -47.8974285714286, -48.442679999999925]
  180. [-48.687372549019614, -49.11923076923068, -49.535811320754696, -49.91140740740741, -50.34809090909088, -50.39257142857153, -50.76966666666661, -51.03318965517249, -51.38767796610173, -51.69906666666664]
  181. [-52.12660655737711, -52.44220967741934, -52.56369841269849, -52.76551562500092, -53.012861538461514, -53.294424242424235, -53.379373134328375, -53.84082352941176, -53.8865942028986, -54.21879999999995]
  182. [-54.437788732394324, -54.53469444444433, -54.65571232876708, -54.90994594594603, -55.22221333333328, -55.22668421052628, -55.467922077922054, -55.58541025641026, -55.82415189873425, -56.07736249999995]
  183. [-55.98651851851861, -56.270024390243925, -56.49636144578312, -56.55241666666672, -56.63075294117656, -56.773802325581286, -56.90565517241379, -57.10595454545468, -57.13824719101122, -57.28657777777784]
  184. [-57.36240659340674, -57.650891304347795, -57.51104301075271, -57.79802127659571, -57.90021052631583, -57.967062499999685, -58.13437113402053, -58.19123469387756, -58.30673737373735, -58.487560000000066]
  185. ]
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement