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
2 changes: 1 addition & 1 deletion examples/aco_tsp/aco_tsp/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import mesa
import networkx as nx
import numpy as np
from mesa.experimental.cell_space import CellAgent, Network
from mesa.discrete_space import CellAgent, Network


@dataclass
Expand Down
2 changes: 1 addition & 1 deletion examples/bank_reserves/bank_reserves/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Northwestern University, Evanston, IL.
"""

from mesa.experimental.cell_space import CellAgent
from mesa.discrete_space import CellAgent


class Bank:
Expand Down
2 changes: 1 addition & 1 deletion examples/bank_reserves/bank_reserves/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import mesa
import numpy as np
from mesa.experimental.cell_space import OrthogonalMooreGrid
from mesa.discrete_space import OrthogonalMooreGrid

from .agents import Bank, Person

Expand Down
2 changes: 1 addition & 1 deletion examples/caching_and_replay/model.py
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
"""This file was copied over from the original Schelling mesa example."""

import mesa
from mesa.experimental.cell_space import CellAgent, OrthogonalMooreGrid
from mesa.discrete_space import CellAgent, OrthogonalMooreGrid


class SchellingAgent(CellAgent):
Expand Down
2 changes: 1 addition & 1 deletion examples/charts/charts/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
Northwestern University, Evanston, IL.
"""

from mesa.experimental.cell_space import CellAgent
from mesa.discrete_space import CellAgent


class Bank:
Expand Down
2 changes: 1 addition & 1 deletion examples/charts/charts/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -11,7 +11,7 @@

import mesa
import numpy as np
from mesa.experimental.cell_space import OrthogonalMooreGrid
from mesa.discrete_space import OrthogonalMooreGrid

from .agents import Bank, Person

Expand Down
4 changes: 2 additions & 2 deletions examples/forest_fire/Forest Fire Model.ipynb
Original file line number Diff line number Diff line change
Expand Up @@ -78,7 +78,7 @@
},
"outputs": [],
"source": [
"from mesa.experimental.cell_space import FixedAgent\n",
"from mesa.discrete_space import FixedAgent\n",
"\n",
"\n",
"class TreeCell(FixedAgent):\n",
Expand Down Expand Up @@ -129,7 +129,7 @@
"metadata": {},
"outputs": [],
"source": [
"from mesa.experimental.cell_space import OrthogonalMooreGrid\n",
"from mesa.discrete_space import OrthogonalMooreGrid\n",
"\n",
"\n",
"class ForestFire(Model):\n",
Expand Down
2 changes: 1 addition & 1 deletion examples/forest_fire/forest_fire/agent.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mesa.experimental.cell_space import FixedAgent
from mesa.discrete_space import FixedAgent


class TreeCell(FixedAgent):
Expand Down
2 changes: 1 addition & 1 deletion examples/forest_fire/forest_fire/model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import mesa
from mesa.experimental.cell_space import OrthogonalMooreGrid
from mesa.discrete_space import OrthogonalMooreGrid

from .agent import TreeCell

Expand Down
2 changes: 1 addition & 1 deletion examples/hex_snowflake/hex_snowflake/cell.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mesa.experimental.cell_space import FixedAgent
from mesa.discrete_space import FixedAgent


class Cell(FixedAgent):
Expand Down
2 changes: 1 addition & 1 deletion examples/hex_snowflake/hex_snowflake/model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import mesa
from mesa.experimental.cell_space import HexGrid
from mesa.discrete_space import HexGrid

from .cell import Cell

Expand Down
2 changes: 1 addition & 1 deletion examples/hotelling_law/hotelling_law/agents.py
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@
import random

import numpy as np
from mesa.experimental.cell_space import CellAgent
from mesa.discrete_space import CellAgent


class StoreAgent(CellAgent):
Expand Down
2 changes: 1 addition & 1 deletion examples/hotelling_law/hotelling_law/model.py
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
import numpy as np
from mesa import Model
from mesa.datacollection import DataCollector
from mesa.experimental.cell_space import OrthogonalMooreGrid
from mesa.discrete_space import OrthogonalMooreGrid

from .agents import ConsumerAgent, StoreAgent

Expand Down
2 changes: 1 addition & 1 deletion examples/shape_example/shape_example/model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
import mesa
from mesa.experimental.cell_space import OrthogonalMooreGrid
from mesa.discrete_space import OrthogonalMooreGrid


class Walker(mesa.Agent):
Expand Down
2 changes: 1 addition & 1 deletion examples/termites/termites/agents.py
Original file line number Diff line number Diff line change
@@ -1,4 +1,4 @@
from mesa.experimental.cell_space import CellAgent
from mesa.discrete_space import CellAgent


class Termite(CellAgent):
Expand Down
2 changes: 1 addition & 1 deletion examples/termites/termites/model.py
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
from mesa import Model
from mesa.experimental.cell_space import OrthogonalMooreGrid, PropertyLayer
from mesa.discrete_space import OrthogonalMooreGrid, PropertyLayer

from .agents import Termite

Expand Down