{ "cells": [ { "cell_type": "markdown", "id": "f9c68aeb", "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": "0dc8f203", "metadata": { "execution": { "iopub.execute_input": "2026-04-16T05:27:12.755407Z", "iopub.status.busy": "2026-04-16T05:27:12.755162Z", "iopub.status.idle": "2026-04-16T05:27:13.194017Z", "shell.execute_reply": "2026-04-16T05:27:13.193400Z" } }, "outputs": [ { "data": { "text/html": [ "\n", "\n", "\n", "
\n", "