Skip to content

Commit

Permalink
deploy: 363ba3d
Browse files Browse the repository at this point in the history
  • Loading branch information
brendanfong committed Oct 9, 2024
1 parent 60ebef8 commit d970f4b
Show file tree
Hide file tree
Showing 17 changed files with 106 additions and 125 deletions.
2 changes: 1 addition & 1 deletion _sources/authors.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "c59a64e3",
"id": "e25d3966",
"metadata": {},
"source": [
"# Authors\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/chp0.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "0df114f3",
"id": "2a4cf367",
"metadata": {},
"source": [
"# Chapter 0: Directed Graphs\n",
Expand Down
8 changes: 4 additions & 4 deletions _sources/chp1-directed-graphs.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "78e9f582",
"id": "f5d9e076",
"metadata": {},
"source": [
"# Chapter 1: Data\n",
Expand Down Expand Up @@ -93,7 +93,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "3aaafd56",
"id": "4e425b15",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -108,7 +108,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "8399a273",
"id": "241a090a",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -120,7 +120,7 @@
},
{
"cell_type": "markdown",
"id": "f9f1a0d4",
"id": "93789b43",
"metadata": {},
"source": [
"## 1.3 On the importance of finding the right abstractions \n",
Expand Down
44 changes: 22 additions & 22 deletions _sources/chp2-dwd.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "ea937f41",
"id": "2416d6ba",
"metadata": {},
"source": [
"# Chapter 2: Dynamical Systems with Kiki and Bouba\n",
Expand Down Expand Up @@ -141,7 +141,7 @@
},
{
"cell_type": "markdown",
"id": "9eeb42bb",
"id": "4456b7b5",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -165,15 +165,15 @@
},
{
"cell_type": "markdown",
"id": "2771ee05",
"id": "89561284",
"metadata": {},
"source": [
"To simulate the code, we need to provide an **initial state (starting state)** for the bulb which will then get updated at every time instant as per the above update rule!"
]
},
{
"cell_type": "markdown",
"id": "5e8adcfc",
"id": "3e3f238a",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -185,7 +185,7 @@
},
{
"cell_type": "markdown",
"id": "8337fd9c",
"id": "f15558b8",
"metadata": {},
"source": [
"The simulation results are exported as an animation showing that our simulation works (using Javis library) as shown below!\n",
Expand Down Expand Up @@ -243,7 +243,7 @@
},
{
"cell_type": "markdown",
"id": "c07ce82f",
"id": "481e5ca6",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -267,7 +267,7 @@
},
{
"cell_type": "markdown",
"id": "c42bea56",
"id": "cc86e785",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -282,7 +282,7 @@
},
{
"cell_type": "markdown",
"id": "744bad43",
"id": "9b2cfe41",
"metadata": {},
"source": [
"Animating the simulation results produces a result as below:\n",
Expand Down Expand Up @@ -441,7 +441,7 @@
},
{
"cell_type": "markdown",
"id": "ccc962ff",
"id": "efd97d72",
"metadata": {},
"source": [
"```{code}\n",
Expand Down Expand Up @@ -471,15 +471,15 @@
},
{
"cell_type": "markdown",
"id": "de029602",
"id": "ac93ee2b",
"metadata": {},
"source": [
"We need to set the inital states carefully (in a meaningful way)! We set the controller to begin in `ON` for the RED light state and `OFF` for the other two lights (3 states for the controller). For the three light bulbs, we set RED to be `OFF`, GREEN to be `OFF`, and YELLOW to be `ON`. So in the next instant in time, controller will send it current state (RED) to the respective light bulbs and move to the next state of GREEN."
]
},
{
"cell_type": "markdown",
"id": "2bea800d",
"id": "80e594cc",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -492,7 +492,7 @@
},
{
"cell_type": "markdown",
"id": "61bf4b06",
"id": "296f007c",
"metadata": {},
"source": [
"Simulation of the results creates the following animation of traffic light! We got our initial states right!!\n",
Expand Down Expand Up @@ -610,7 +610,7 @@
},
{
"cell_type": "markdown",
"id": "ccc3533a",
"id": "2ba813f1",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -629,15 +629,15 @@
},
{
"cell_type": "markdown",
"id": "b380d98f",
"id": "175f06e0",
"metadata": {},
"source": [
"We set the initial mood of Kiki to 4.5 and Bouba to be -4.5. We set their calmdown rates to be 5% (0.05) for Kiki and 3% (0.03) for Bouba."
]
},
{
"cell_type": "markdown",
"id": "e5737744",
"id": "1e1460c5",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -650,7 +650,7 @@
},
{
"cell_type": "markdown",
"id": "0627b005",
"id": "69ec2b01",
"metadata": {},
"source": [
"Are you ready to visualize their mood change when they are by themselves?\n",
Expand Down Expand Up @@ -723,7 +723,7 @@
},
{
"cell_type": "markdown",
"id": "04987fc0",
"id": "1b679098",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -746,15 +746,15 @@
},
{
"cell_type": "markdown",
"id": "9e398cac",
"id": "c6bf22a5",
"metadata": {},
"source": [
"It's time for visualization of change in mood! :) Let us set the initial mood of Kiki and Bouba, their susceptability factors, and their tolerance levels."
]
},
{
"cell_type": "markdown",
"id": "a0bc665d",
"id": "af0a9116",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -775,7 +775,7 @@
},
{
"cell_type": "markdown",
"id": "665259c3",
"id": "37e0089d",
"metadata": {},
"source": [
"Here is the plot showing how Kiki and Bouba's moods oscillate over a 100 minutes conversation! They seem to struggle for the first 30 minutes with Kiki losing her excitement steadily. However, their moods meet somewhere above zero and they happily seem to resonate at their maximum excitement levels from there on!\n",
Expand Down Expand Up @@ -860,7 +860,7 @@
},
{
"cell_type": "markdown",
"id": "a01849ac",
"id": "3d856d3b",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -879,7 +879,7 @@
},
{
"cell_type": "markdown",
"id": "4a62002a",
"id": "f27df9b2",
"metadata": {},
"source": [
"The change in mood level of Kiki, Bouba, and Bouba's crew over 100 minutes!\n",
Expand Down
6 changes: 3 additions & 3 deletions _sources/chp3-schemas.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "bb30a4cd",
"id": "eae55c4f",
"metadata": {},
"source": [
"# Chapter 3: Blueprints - Part I\n",
Expand Down Expand Up @@ -128,7 +128,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5587bb03",
"id": "a1b84706",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -145,7 +145,7 @@
},
{
"cell_type": "markdown",
"id": "a9369000",
"id": "76a7cf69",
"metadata": {},
"source": [
"And that's how AlgebraicJulia sees a directed graph to be! \n",
Expand Down
10 changes: 5 additions & 5 deletions _sources/chp4-schemas-part2.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "f1157063",
"id": "ee54fe96",
"metadata": {},
"source": [
"# Chapter 4: Blueprints - Part II\n",
Expand Down Expand Up @@ -162,7 +162,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bd6ec891",
"id": "0c6ac29f",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -178,7 +178,7 @@
},
{
"cell_type": "markdown",
"id": "10febfff",
"id": "3eea587f",
"metadata": {},
"source": [
"And that's how reflexive graphs can be defined in AlgebraicJulia! In the next chapter we'll see how to put this definition to use.\n",
Expand Down Expand Up @@ -267,7 +267,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "5770f04e",
"id": "993bd169",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -285,7 +285,7 @@
},
{
"cell_type": "markdown",
"id": "7453c077",
"id": "e793d7c9",
"metadata": {},
"source": [
":::{admonition} Pause and Ponder! \n",
Expand Down
Loading

0 comments on commit d970f4b

Please sign in to comment.