ACI-ESP / dworp

Flexible framework for building agent-based modeling simulations
BSD 3-Clause "New" or "Revised" License
3 stars 4 forks source link

What spatial spaces do we want to support directly with dworp? #18

Open cash opened 6 years ago

cash commented 6 years ago

See #5

Different features:

alexperrone commented 6 years ago

If you wanted a simple set of discrete locations to be in, like 5 different discrete states, can this easily be implemented as a 2D grid with width = 5 and height = 1, for example? I'm thinking of a simulation that needs a small number of discrete states for agents to be in. Not sure "discrete states" merits its own implementation, or if we can just reuse the 2D grid.

cash commented 6 years ago

It doesn't sound like a use case for a grid, but I'd need to hear more.

  1. Are there limits to how many agents can be in each of the discrete states?
  2. Are there transition probabilities from state to state?
auroraschmidt commented 6 years ago

You can generate that with igraph lattice specifying xdim=1, ydim=5

Sent with BlackBerry Work (www.blackberry.com)

From: alexperrone notifications@github.com<mailto:notifications@github.com> Date: Wednesday, May 09, 2018, 2:39 PM To: ACI-ESP/dworp dworp@noreply.github.com<mailto:dworp@noreply.github.com> Cc: Subscribed subscribed@noreply.github.com<mailto:subscribed@noreply.github.com> Subject: Re: [ACI-ESP/dworp] What spatial spaces do we want to support directly with dworp? (#18)

If you wanted a simple set of discrete locations to be in, like 5 different discrete states, can this easily be implemented as a 2D grid with width = 5 and height = 1, for example? I'm thinking of a simulation that needs a small number of discrete states for agents to be in.

- You are receiving this because you are subscribed to this thread. Reply to this email directly, view it on GitHubhttps://github.com/ACI-ESP/dworp/issues/18#issuecomment-387835677, or mute the threadhttps://github.com/notifications/unsubscribe-auth/AGkSjUjGeWAN8CqHeKiGynt97fqK3UXEks5twzfRgaJpZM4T4zAl.

alexperrone commented 6 years ago

I'll give it a try with a 2D grid and see if it doesn't work. Happy to explain more in-person.