Skip to content

Commit

Permalink
deploy: 22d78aa
Browse files Browse the repository at this point in the history
  • Loading branch information
priyaasrini committed Apr 9, 2024
1 parent 646bbf8 commit 3a27614
Show file tree
Hide file tree
Showing 17 changed files with 142 additions and 103 deletions.
Binary file added _images/machinery.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
2 changes: 1 addition & 1 deletion _sources/acknowledgements.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "ea7bec77",
"id": "329dadc8",
"metadata": {},
"source": [
"# Credits\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/afterword.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "f4d75346",
"id": "9d73d73c",
"metadata": {},
"source": [
"# Afterword"
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": "f292f879",
"id": "9784e532",
"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": "cf6071c2",
"id": "3c1bf7c3",
"metadata": {},
"source": [
"# Chapter 1: Data\n",
Expand Down Expand Up @@ -87,7 +87,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e4790055",
"id": "519af776",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -102,7 +102,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "e8a49c15",
"id": "5e36a2e7",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -114,7 +114,7 @@
},
{
"cell_type": "markdown",
"id": "0ea8568f",
"id": "839f3908",
"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": "fdce631d",
"id": "fc858ae5",
"metadata": {},
"source": [
"# Chapter 2: Dynamical Systems with Kiki and Bouba\n",
Expand Down Expand Up @@ -133,7 +133,7 @@
},
{
"cell_type": "markdown",
"id": "344546c6",
"id": "339d842d",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -157,15 +157,15 @@
},
{
"cell_type": "markdown",
"id": "53f320de",
"id": "a9aa804f",
"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": "06fa279a",
"id": "c0862b4c",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -177,7 +177,7 @@
},
{
"cell_type": "markdown",
"id": "5a312038",
"id": "db05b514",
"metadata": {},
"source": [
"The simulation reuslts are exported as an animation showing that our simulation works (using Javis library) as shown below!\n",
Expand Down Expand Up @@ -235,7 +235,7 @@
},
{
"cell_type": "markdown",
"id": "70a41a5e",
"id": "df51738e",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -259,7 +259,7 @@
},
{
"cell_type": "markdown",
"id": "ea9b8b7a",
"id": "1abbe591",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -274,7 +274,7 @@
},
{
"cell_type": "markdown",
"id": "c3a53440",
"id": "734ff90e",
"metadata": {},
"source": [
"Animating the simulation results produces a result like that:\n",
Expand Down Expand Up @@ -430,7 +430,7 @@
},
{
"cell_type": "markdown",
"id": "9e969482",
"id": "f6124098",
"metadata": {},
"source": [
"```{code}\n",
Expand Down Expand Up @@ -460,15 +460,15 @@
},
{
"cell_type": "markdown",
"id": "07945149",
"id": "1a50936c",
"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": "39c02092",
"id": "6aabb5ef",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -481,7 +481,7 @@
},
{
"cell_type": "markdown",
"id": "3715ba64",
"id": "fdc674a2",
"metadata": {},
"source": [
"Simulation of the results creates the following animation of traffic light! We got our initial states right!!\n",
Expand Down Expand Up @@ -599,7 +599,7 @@
},
{
"cell_type": "markdown",
"id": "18f040e0",
"id": "45cc18c9",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -618,15 +618,15 @@
},
{
"cell_type": "markdown",
"id": "64083dbb",
"id": "97901b80",
"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": "9d0707db",
"id": "ed070eca",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -639,7 +639,7 @@
},
{
"cell_type": "markdown",
"id": "d0fd5664",
"id": "f810c728",
"metadata": {},
"source": [
"Are you ready to visualize their mood change when they are by themselves?\n",
Expand Down Expand Up @@ -713,7 +713,7 @@
},
{
"cell_type": "markdown",
"id": "8aed7838",
"id": "9007734b",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -736,15 +736,15 @@
},
{
"cell_type": "markdown",
"id": "5e7fa3db",
"id": "e2463539",
"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": "ebeef1cd",
"id": "9634b213",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -765,7 +765,7 @@
},
{
"cell_type": "markdown",
"id": "a94ee4ab",
"id": "e8783b94",
"metadata": {},
"source": [
"Here is the plot showing how Kiki and Bouba's moods oscillate during their 100 minutes conversation! They seem to struggle for the first 30 minutes with Kiki losing her excitment 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 @@ -850,7 +850,7 @@
},
{
"cell_type": "markdown",
"id": "13b25660",
"id": "93e8603a",
"metadata": {},
"source": [
"```{code}\n",
Expand All @@ -869,7 +869,7 @@
},
{
"cell_type": "markdown",
"id": "4b7503d9",
"id": "8692e429",
"metadata": {},
"source": [
"The change in mood level of Kiki, Bouba, and Bouba's crew over 100 minutes!\n",
Expand Down
2 changes: 1 addition & 1 deletion _sources/chp3-graph-relationships.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
"cells": [
{
"cell_type": "markdown",
"id": "8e716822",
"id": "2a97b5a2",
"metadata": {},
"source": [
"# Chapter 3: Graph Morphisms\n",
Expand Down
14 changes: 7 additions & 7 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": "a98ea9a8",
"id": "2fcf73de",
"metadata": {},
"source": [
"# Chapter 3: Blueprints\n",
Expand Down Expand Up @@ -118,7 +118,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "bd5204b0",
"id": "01a749f5",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -135,7 +135,7 @@
},
{
"cell_type": "markdown",
"id": "d749384e",
"id": "88df0a36",
"metadata": {},
"source": [
"And that's how AlgebraicJulia understands what we mean by a directed graph! Having given this general characterization of a directed graph blueprint we will next see how we can _modify_ this blueprint to define other kinds of graphs.\n",
Expand Down Expand Up @@ -290,7 +290,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "6932d53f",
"id": "c495b901",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -306,7 +306,7 @@
},
{
"cell_type": "markdown",
"id": "29ee300f",
"id": "2d65a107",
"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 @@ -395,7 +395,7 @@
{
"cell_type": "code",
"execution_count": null,
"id": "01ef4e95",
"id": "c6a6552b",
"metadata": {},
"outputs": [],
"source": [
Expand All @@ -413,7 +413,7 @@
},
{
"cell_type": "markdown",
"id": "c2357568",
"id": "4ba10aed",
"metadata": {},
"source": [
":::{admonition} Pause and Ponder! \n",
Expand Down
Loading

0 comments on commit 3a27614

Please sign in to comment.