08: draft

This commit is contained in:
2022-11-10 12:19:57 +01:00
parent d61f7c108d
commit bf123108e9

View File

@ -501,7 +501,7 @@
},
{
"cell_type": "code",
"execution_count": null,
"execution_count": 4,
"id": "ee683060",
"metadata": {
"deletable": false,
@ -517,7 +517,15 @@
"task": false
}
},
"outputs": [],
"outputs": [
{
"name": "stdout",
"output_type": "stream",
"text": [
"[ 1 4 6 19 20 10 5 1 0 0]\n"
]
}
],
"source": [
"models = ['U','W','S','B']\n",
"sizes = [2**k for k in range(7,13)]\n",
@ -525,8 +533,13 @@
"measurements = 100\n",
"\n",
"# data gathering and storing in qgdimension.hdf5\n",
"# YOUR CODE HERE\n",
"raise NotImplementedError()"
"#vertex_distance_profile(adj,max_distance=30) = rho_T_van_r\n",
"#def expt_distance(max_distance=30):\n",
"# return 1/V * [r for r in range(max_d)]@\n",
"N = 2**7\n",
"# TODO: Sum over different types of triangulations.\n",
"adj = generate_random_triangulation(N,'B')\n",
"print(vertex_distance_profile(adj,10))"
]
},
{