From 415068ce8d14cfdf921ecdf6ba91d8a1303affe6 Mon Sep 17 00:00:00 2001 From: MJ Ducut Date: Thu, 24 Oct 2024 16:11:29 +0800 Subject: [PATCH] Updated example in docs --- docs/example.ipynb | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) diff --git a/docs/example.ipynb b/docs/example.ipynb index 63c3ad5..f7c45dd 100644 --- a/docs/example.ipynb +++ b/docs/example.ipynb @@ -128,7 +128,7 @@ }, { "cell_type": "code", - "execution_count": 5, + "execution_count": 3, "metadata": {}, "outputs": [ { @@ -173,18 +173,18 @@ " [3, 4]\n", " 0\n", " 3\n", - " ((0, 3), (0, 3))\n", + " ([(0, 3)], [(0, 3)])\n", " \n", " \n", "\n", "" ], "text/plain": [ - " task_id assigned_resource_ids task_start task_end resource_intervals\n", - "0 1 [3, 4] 0 3 ((0, 3), (0, 3))" + " task_id assigned_resource_ids task_start task_end resource_intervals\n", + "0 1 [3, 4] 0 3 ([(0, 3)], [(0, 3)])" ] }, - "execution_count": 5, + "execution_count": 3, "metadata": {}, "output_type": "execute_result" } @@ -227,7 +227,7 @@ }, { "cell_type": "code", - "execution_count": 6, + "execution_count": 4, "metadata": {}, "outputs": [ { @@ -272,18 +272,21 @@ " [4, 1]\n", " 20\n", " 30\n", - " ((20, 30), (20, 30))\n", + " ([(20, 30)], [(20, 30)])\n", " \n", " \n", "\n", "" ], "text/plain": [ - " task_id assigned_resource_ids task_start task_end resource_intervals\n", - "0 1 [4, 1] 20 30 ((20, 30), (20, 30))" + " task_id assigned_resource_ids task_start task_end \\\n", + "0 1 [4, 1] 20 30 \n", + "\n", + " resource_intervals \n", + "0 ([(20, 30)], [(20, 30)]) " ] }, - "execution_count": 6, + "execution_count": 4, "metadata": {}, "output_type": "execute_result" }