Skip to content

Commit

Permalink
build based on 4cd4efd
Browse files Browse the repository at this point in the history
  • Loading branch information
zeptodoctor committed Sep 24, 2023
1 parent 755d7b9 commit 45f17ff
Show file tree
Hide file tree
Showing 24 changed files with 67 additions and 67 deletions.
50 changes: 25 additions & 25 deletions previews/PR888/api/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion previews/PR888/comparison/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion previews/PR888/devdocs/index.html

Large diffs are not rendered by default.

26 changes: 13 additions & 13 deletions previews/PR888/examples/agents_visualizations/index.html

Large diffs are not rendered by default.

Binary file modified previews/PR888/examples/celllistmap.mp4
Binary file not shown.
4 changes: 2 additions & 2 deletions previews/PR888/examples/celllistmap/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@
model, agent_step!, model_step!, nsteps, false,
)
end</code></pre><pre><code class="language-none">simulate (generic function with 2 methods)</code></pre><p>Which should be quite fast</p><pre><code class="language-julia">model = initialize_bouncing()
@time simulate(model)</code></pre><pre><code class="language-none"> 17.341826 seconds (589.77 k allocations: 40.567 MiB, 0.21% gc time, 3.68% compilation time)</code></pre><p>and let&#39;s make a nice video with less particles, to see them bouncing around. The marker size is set by the radius of each particle, and the marker color by the corresponding repulsion constant.</p><pre><code class="language-julia">using CairoMakie
@time simulate(model)</code></pre><pre><code class="language-none"> 17.618920 seconds (589.99 k allocations: 40.570 MiB, 0.17% gc time, 3.70% compilation time)</code></pre><p>and let&#39;s make a nice video with less particles, to see them bouncing around. The marker size is set by the radius of each particle, and the marker color by the corresponding repulsion constant.</p><pre><code class="language-julia">using CairoMakie
model = initialize_bouncing(number_of_particles=1000)
abmvideo(
&quot;celllistmap.mp4&quot;, model, agent_step!, model_step!;
Expand All @@ -108,4 +108,4 @@
ac=p -&gt; p.k # marker color
)</code></pre><video width="auto" controls autoplay loop>
<source src="../celllistmap.mp4" type="video/mp4">
</video></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../measurements/">« Measurements.jl</a><a class="docs-footer-nextpage" href="../../performance_tips/">Performance Tips »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 23 September 2023 16:47">Saturday 23 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</video></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../measurements/">« Measurements.jl</a><a class="docs-footer-nextpage" href="../../performance_tips/">Performance Tips »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Sunday 24 September 2023 11:53">Sunday 24 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
Binary file modified previews/PR888/examples/daisyworld.mp4
Binary file not shown.
6 changes: 3 additions & 3 deletions previews/PR888/examples/diffeq/index.html

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion previews/PR888/examples/flock/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -87,4 +87,4 @@
title = &quot;Flocking&quot;
)</code></pre><video width="auto" controls autoplay loop>
<source src="../flocking.mp4" type="video/mp4">
</video></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../sir/">« SIR model for the spread of COVID-19</a><a class="docs-footer-nextpage" href="../zombies/">Zombie Outbreak in a City »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 23 September 2023 16:47">Saturday 23 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
</video></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="../sir/">« SIR model for the spread of COVID-19</a><a class="docs-footer-nextpage" href="../zombies/">Zombie Outbreak in a City »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Sunday 24 September 2023 11:53">Sunday 24 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion previews/PR888/examples/index.html
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
<!DOCTYPE html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>More Examples for Agents.jl · Agents.jl</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link href="https://fonts.googleapis.com/css?family=Montserrat|Source+Code+Pro&amp;display=swap" rel="stylesheet" type="text/css"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="../"><img src="../assets/logo.png" alt="Agents.jl logo"/></a><div class="docs-package-name"><span class="docs-autofit">Agents.jl</span></div><form class="docs-search" action="../search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../">Introduction</a></li><li><a class="tocitem" href="../tutorial/">Tutorial</a></li><li><span class="tocitem">Examples</span><ul><li><a class="tocitem" href="schelling/">Schelling&#39;s segregation model</a></li><li><a class="tocitem" href="sir/">SIR model for the spread of COVID-19</a></li><li><a class="tocitem" href="flock/">Flocking model</a></li><li><a class="tocitem" href="zombies/">Zombie Outbreak in a City</a></li><li><a class="tocitem" href="predator_prey/">Predator-prey dynamics</a></li><li><a class="tocitem" href="rabbit_fox_hawk/">3D Mixed-Agent Ecosystem with Pathfinding</a></li><li class="is-active"><a class="tocitem" href>More Examples for Agents.jl</a></li></ul></li><li><a class="tocitem" href="../api/">API</a></li><li><a class="tocitem" href="agents_visualizations/">Plotting and Interactivity</a></li><li><span class="tocitem">Ecosystem Integration</span><ul><li><a class="tocitem" href="optim/">BlackBoxOptim.jl</a></li><li><a class="tocitem" href="diffeq/">DifferentialEquations.jl</a></li><li><a class="tocitem" href="schoolyard/">Graphs.jl</a></li><li><a class="tocitem" href="measurements/">Measurements.jl</a></li><li><a class="tocitem" href="celllistmap/">CellListMap.jl</a></li></ul></li><li><a class="tocitem" href="../performance_tips/">Performance Tips</a></li><li><a class="tocitem" href="../comparison/">ABM Framework Comparison</a></li><li><a class="tocitem" href="../devdocs/">Developer Docs</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li><a class="is-disabled">Examples</a></li><li class="is-active"><a href>More Examples for Agents.jl</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>More Examples for Agents.jl</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/JuliaDynamics/Agents.jl/blob/master/docs/src/examples.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="More-Examples-for-Agents.jl-1"><a class="docs-heading-anchor" href="#More-Examples-for-Agents.jl-1">More Examples for Agents.jl</a><a class="docs-heading-anchor-permalink" href="#More-Examples-for-Agents.jl-1" title="Permalink"></a></h1><p>In order to keep the documentation of Agents.jl lean and focused, the majority of model examples for Agents.jl are not hosted in this documentation, but rather in a different one: <a href="https://juliadynamics.github.io/AgentsExampleZoo.jl/dev/">Agents.jl Example Zoo</a>. Any kind of user-written example is welcomed to be contributed there as well!</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="rabbit_fox_hawk/">« 3D Mixed-Agent Ecosystem with Pathfinding</a><a class="docs-footer-nextpage" href="../api/">API »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Saturday 23 September 2023 16:47">Saturday 23 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
<html lang="en"><head><meta charset="UTF-8"/><meta name="viewport" content="width=device-width, initial-scale=1.0"/><title>More Examples for Agents.jl · Agents.jl</title><link href="https://fonts.googleapis.com/css?family=Lato|Roboto+Mono" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/fontawesome.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/solid.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/5.11.2/css/brands.min.css" rel="stylesheet" type="text/css"/><link href="https://cdnjs.cloudflare.com/ajax/libs/KaTeX/0.11.1/katex.min.css" rel="stylesheet" type="text/css"/><script>documenterBaseURL=".."</script><script src="https://cdnjs.cloudflare.com/ajax/libs/require.js/2.3.6/require.min.js" data-main="../assets/documenter.js"></script><script src="../siteinfo.js"></script><script src="../../versions.js"></script><link href="https://fonts.googleapis.com/css?family=Montserrat|Source+Code+Pro&amp;display=swap" rel="stylesheet" type="text/css"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-dark.css" data-theme-name="documenter-dark"/><link class="docs-theme-link" rel="stylesheet" type="text/css" href="../assets/themes/documenter-light.css" data-theme-name="documenter-light" data-theme-primary/><script src="../assets/themeswap.js"></script></head><body><div id="documenter"><nav class="docs-sidebar"><a class="docs-logo" href="../"><img src="../assets/logo.png" alt="Agents.jl logo"/></a><div class="docs-package-name"><span class="docs-autofit">Agents.jl</span></div><form class="docs-search" action="../search/"><input class="docs-search-query" id="documenter-search-query" name="q" type="text" placeholder="Search docs"/></form><ul class="docs-menu"><li><a class="tocitem" href="../">Introduction</a></li><li><a class="tocitem" href="../tutorial/">Tutorial</a></li><li><span class="tocitem">Examples</span><ul><li><a class="tocitem" href="schelling/">Schelling&#39;s segregation model</a></li><li><a class="tocitem" href="sir/">SIR model for the spread of COVID-19</a></li><li><a class="tocitem" href="flock/">Flocking model</a></li><li><a class="tocitem" href="zombies/">Zombie Outbreak in a City</a></li><li><a class="tocitem" href="predator_prey/">Predator-prey dynamics</a></li><li><a class="tocitem" href="rabbit_fox_hawk/">3D Mixed-Agent Ecosystem with Pathfinding</a></li><li class="is-active"><a class="tocitem" href>More Examples for Agents.jl</a></li></ul></li><li><a class="tocitem" href="../api/">API</a></li><li><a class="tocitem" href="agents_visualizations/">Plotting and Interactivity</a></li><li><span class="tocitem">Ecosystem Integration</span><ul><li><a class="tocitem" href="optim/">BlackBoxOptim.jl</a></li><li><a class="tocitem" href="diffeq/">DifferentialEquations.jl</a></li><li><a class="tocitem" href="schoolyard/">Graphs.jl</a></li><li><a class="tocitem" href="measurements/">Measurements.jl</a></li><li><a class="tocitem" href="celllistmap/">CellListMap.jl</a></li></ul></li><li><a class="tocitem" href="../performance_tips/">Performance Tips</a></li><li><a class="tocitem" href="../comparison/">ABM Framework Comparison</a></li><li><a class="tocitem" href="../devdocs/">Developer Docs</a></li></ul><div class="docs-version-selector field has-addons"><div class="control"><span class="docs-label button is-static is-size-7">Version</span></div><div class="docs-selector control is-expanded"><div class="select is-fullwidth is-size-7"><select id="documenter-version-selector"></select></div></div></div></nav><div class="docs-main"><header class="docs-navbar"><nav class="breadcrumb"><ul class="is-hidden-mobile"><li><a class="is-disabled">Examples</a></li><li class="is-active"><a href>More Examples for Agents.jl</a></li></ul><ul class="is-hidden-tablet"><li class="is-active"><a href>More Examples for Agents.jl</a></li></ul></nav><div class="docs-right"><a class="docs-edit-link" href="https://github.com/JuliaDynamics/Agents.jl/blob/master/docs/src/examples.md" title="Edit on GitHub"><span class="docs-icon fab"></span><span class="docs-label is-hidden-touch">Edit on GitHub</span></a><a class="docs-settings-button fas fa-cog" id="documenter-settings-button" href="#" title="Settings"></a><a class="docs-sidebar-button fa fa-bars is-hidden-desktop" id="documenter-sidebar-button" href="#"></a></div></header><article class="content" id="documenter-page"><h1 id="More-Examples-for-Agents.jl-1"><a class="docs-heading-anchor" href="#More-Examples-for-Agents.jl-1">More Examples for Agents.jl</a><a class="docs-heading-anchor-permalink" href="#More-Examples-for-Agents.jl-1" title="Permalink"></a></h1><p>In order to keep the documentation of Agents.jl lean and focused, the majority of model examples for Agents.jl are not hosted in this documentation, but rather in a different one: <a href="https://juliadynamics.github.io/AgentsExampleZoo.jl/dev/">Agents.jl Example Zoo</a>. Any kind of user-written example is welcomed to be contributed there as well!</p></article><nav class="docs-footer"><a class="docs-footer-prevpage" href="rabbit_fox_hawk/">« 3D Mixed-Agent Ecosystem with Pathfinding</a><a class="docs-footer-nextpage" href="../api/">API »</a></nav></div><div class="modal" id="documenter-settings"><div class="modal-background"></div><div class="modal-card"><header class="modal-card-head"><p class="modal-card-title">Settings</p><button class="delete"></button></header><section class="modal-card-body"><p><label class="label">Theme</label><div class="select"><select id="documenter-themepicker"><option value="documenter-light">documenter-light</option><option value="documenter-dark">documenter-dark</option></select></div></p><hr/><p>This document was generated with <a href="https://github.com/JuliaDocs/Documenter.jl">Documenter.jl</a> on <span class="colophon-date" title="Sunday 24 September 2023 11:53">Sunday 24 September 2023</span>. Using Julia version 1.9.3.</p></section><footer class="modal-card-foot"></footer></div></div></div></body></html>
2 changes: 1 addition & 1 deletion previews/PR888/examples/measurements/index.html

Large diffs are not rendered by default.

Loading

0 comments on commit 45f17ff

Please sign in to comment.