Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Empty file.
Empty file added examples/schelling/__init__.py
Empty file.
Empty file added examples/wolf_sheep/__init__.py
Empty file.
2 changes: 1 addition & 1 deletion examples/wolf_sheep/wolf_sheep/agents.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import mesa
from wolf_sheep.random_walk import RandomWalker
from .random_walk import RandomWalker


class Sheep(RandomWalker):
Expand Down
4 changes: 2 additions & 2 deletions examples/wolf_sheep/wolf_sheep/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,8 +11,8 @@

import mesa

from wolf_sheep.scheduler import RandomActivationByTypeFiltered
from wolf_sheep.agents import Sheep, Wolf, GrassPatch
from .scheduler import RandomActivationByTypeFiltered
from .agents import Sheep, Wolf, GrassPatch


class WolfSheep(mesa.Model):
Expand Down
3 changes: 3 additions & 0 deletions setup.cfg
Original file line number Diff line number Diff line change
@@ -1,3 +1,6 @@
[options]
package_dir =
mesa_models.boltzmann_wealth_model = examples/boltzmann_wealth_model/boltzmann_wealth_model
mesa_models.schelling = examples/schelling
mesa_models.epstein_civil_violence = examples/epstein_civil_violence/epstein_civil_violence
mesa_models.wolf_sheep = examples/wolf_sheep/wolf_sheep