Skip to content

Commit

Permalink
Add support for Observables to MESA (#2291)
Browse files Browse the repository at this point in the history
  • Loading branch information
quaquel authored Nov 24, 2024
1 parent a1da434 commit a3469af
Show file tree
Hide file tree
Showing 7 changed files with 944 additions and 3 deletions.
1 change: 0 additions & 1 deletion codecov.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,6 @@ coverage:

ignore:
- "benchmarks/**"
- "mesa/experimental/**"
- "mesa/visualization/**"

comment: off
4 changes: 2 additions & 2 deletions mesa/experimental/__init__.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
"""Experimental init."""

from mesa.experimental import cell_space, devs
from mesa.experimental import cell_space, devs, mesa_signals

__all__ = ["cell_space", "devs"]
__all__ = ["cell_space", "devs", "mesa_signals"]
13 changes: 13 additions & 0 deletions mesa/experimental/mesa_signals/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,13 @@
"""Functionality for Observables."""

from .mesa_signal import All, Computable, Computed, HasObservables, Observable
from .observable_collections import ObservableList

__all__ = [
"Observable",
"ObservableList",
"HasObservables",
"All",
"Computable",
"Computed",
]
Loading

0 comments on commit a3469af

Please sign in to comment.