{ "cells": [ { "cell_type": "markdown", "id": "69319b5b", "metadata": {}, "source": [ "# Simulator\n", "If we have a transition system, it might be nice to run a simulation. In this case, we have an MDP that models a hungry lion. Depending on the state it is in, it needs to decide whether it wants to 'rawr' or 'hunt' in order to prevent reaching the state 'dead'." ] }, { "cell_type": "code", "execution_count": 1, "id": "220fc914", "metadata": { "execution": { "iopub.execute_input": "2026-03-26T10:41:35.930996Z", "iopub.status.busy": "2026-03-26T10:41:35.930820Z", "iopub.status.idle": "2026-03-26T10:41:36.372108Z", "shell.execute_reply": "2026-03-26T10:41:36.371561Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "
\n", "