rustsim-core 0.0.1

Core ABM engine: agents, models, stores, schedulers, stepping, data collection
Documentation
1
2
3
4
5
6
7
8
9
10
11
12
13
//! Space trait - marker for spatial structures in which agents exist.

/// Marker trait for simulation spaces.
///
/// Spaces define the topology in which agents live (grid, continuous, graph, etc.).
/// Concrete space types live in the `rustsim-spaces` crate and implement both this
/// trait and [`SpaceInteraction`] for positioned agent types.
///
/// The `Send + Sync` bounds allow spaces to be shared across threads when needed
/// by the compute backend.
///
/// [`SpaceInteraction`]: crate::interaction::SpaceInteraction
pub trait Space: Send + Sync {}