Python demo: research

This commit is contained in:
Mrna
2025-09-18 19:19:24 +02:00
parent 36919b4bd1
commit e561cc340a
2 changed files with 6 additions and 4 deletions

View File

@@ -24,7 +24,7 @@
{
"id": "16f8fedb-ac10-450c-b5c7-f820a985902d",
"cell_type": "markdown",
"source": "# Pathfinding demo",
"source": "# Pathfinding demo\n\n## Optimal path finding\n\nNon-exhaustive list of methods follows. \n\n$V$ is the set of all vertices; $|V|$ is the size of the set\n\n1. [Bellman-Ford algorithm](https://en.wikipedia.org/wiki/Bellman%E2%80%93Ford_algorithm)\n - exhaustive method\n - $O(|V|*|E|)$\n2. Dijkstra\n3. A*",
"metadata": {
"tags": [],
"slideshow": {
@@ -36,7 +36,7 @@
{
"id": "fbdf9d2c-d050-4744-b559-abc71e550725",
"cell_type": "code",
"source": "#\n# Imports\n#\n\nimport matplotlib.pyplot as plt\nimport numpy as np\nfrom typing import Protocol\nfrom dataclasses import dataclass",
"source": "#\n# Imports\n#\n\nimport matplotlib.pyplot as plt\nimport numpy as np\nfrom typing import Protocol",
"metadata": {
"trusted": true,
"tags": [],