Commit 2a68b75
Revamp documentation content and navigation (#190)
* Revamp documentation content and navigation
* Merge branch 'main' of https://github.com/projectmesa/mesa-frames into split/docs-and-toptexts
* update uv.lock
* Fix trigger condition in MoneyModel to use steps instead of schedule.steps
* Enable notebook execution in mkdocs configuration
* Refactor CLI model and agent options to use single string type
* Remove outdated documentation files for DataCollector tutorial and benchmarks
* Add theme-aware image swapping and benchmark plots to documentation
* Refactor Sugarscape model and agent interactions for improved performance
- Updated Sugarscape model to use direct property access for empty and full cells, reducing unnecessary joins.
- Enhanced AntDFBase agent's eat method to optimize sugar harvesting by joining agent positions with cell properties directly.
- Introduced cell_properties property in AbstractDiscreteSpace to provide direct access to cell attributes without agent occupancy.
- Implemented get_cell_properties method for efficient retrieval of cell properties at specified coordinates.
- Improved AbstractAgentSet's handling of agent indices to ensure proper DataFrame structure and maintain order.
- Enhanced Grid class to support efficient neighborhood retrieval and cell property management, including dense row-major optimizations.
- Added tests for get/set cell property functionality in both dense and toroidal grid configurations to ensure correctness and robustness.
* update plots
* delete old plot
* [pre-commit.ci] auto fixes from pre-commit.com hooks
for more information, see https://pre-commit.ci
* Fix commented installation command in Data Collector tutorial
* Update benchmark plot paths in README for improved organization
* revert changes to main
* Update formatting in README and ROADMAP for consistency
* Refactor README layout for improved readability and organization
---------
Co-authored-by: pre-commit-ci[bot] <66853113+pre-commit-ci[bot]@users.noreply.github.com>1 parent 29fa011 commit 2a68b75
File tree
31 files changed
+7233
-2612
lines changed- benchmarks
- docs
- api
- _static
- reference
- agents
- space
- general
- plots/benchmarks
- stylesheets
- tutorials
- user-guide
- tests
31 files changed
+7233
-2612
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
155 | 155 | | |
156 | 156 | | |
157 | 157 | | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | | - | |
162 | | - | |
163 | | - | |
164 | | - | |
| 158 | + | |
| 159 | + | |
| 160 | + | |
| 161 | + | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
15 | 15 | | |
16 | 16 | | |
17 | 17 | | |
18 | | - | |
19 | | - | |
20 | | - | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
21 | 24 | | |
| 25 | + | |
22 | 26 | | |
23 | 27 | | |
24 | | - | |
25 | | - | |
26 | | - | |
27 | | - | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
28 | 34 | | |
29 | 35 | | |
30 | 36 | | |
| |||
58 | 64 | | |
59 | 65 | | |
60 | 66 | | |
61 | | - | |
62 | | - | |
63 | | - | |
64 | | - | |
65 | | - | |
66 | | - | |
67 | | - | |
68 | | - | |
69 | | - | |
| 67 | + | |
70 | 68 | | |
71 | | - | |
72 | | - | |
73 | | - | |
| 69 | + | |
| 70 | + | |
| 71 | + | |
74 | 72 | | |
75 | | - | |
76 | | - | |
77 | | - | |
78 | | - | |
79 | | - | |
80 | | - | |
81 | | - | |
82 | | - | |
| 73 | + | |
83 | 74 | | |
84 | 75 | | |
85 | 76 | | |
| |||
99 | 90 | | |
100 | 91 | | |
101 | 92 | | |
102 | | - | |
| 93 | + | |
103 | 94 | | |
104 | 95 | | |
105 | 96 | | |
106 | 97 | | |
107 | 98 | | |
108 | | - | |
| 99 | + | |
109 | 100 | | |
110 | 101 | | |
111 | | - | |
| 102 | + | |
112 | 103 | | |
113 | | - | |
| 104 | + | |
114 | 105 | | |
115 | 106 | | |
116 | | - | |
| 107 | + | |
117 | 108 | | |
118 | 109 | | |
119 | | - | |
120 | | - | |
| 110 | + | |
121 | 111 | | |
122 | | - | |
123 | | - | |
124 | | - | |
| 112 | + | |
| 113 | + | |
| 114 | + | |
| 115 | + | |
125 | 116 | | |
126 | | - | |
| 117 | + | |
127 | 118 | | |
128 | | - | |
| 119 | + | |
| 120 | + | |
| 121 | + | |
129 | 122 | | |
130 | 123 | | |
131 | 124 | | |
| |||
135 | 128 | | |
136 | 129 | | |
137 | 130 | | |
138 | | - | |
139 | | - | |
| 131 | + | |
140 | 132 | | |
141 | 133 | | |
142 | 134 | | |
| |||
0 commit comments