Skip to main content

Module graph

Module graph 

Source
Expand description

Graph-based discrete space.

GraphSpace represents a network where each node can hold agents. Agents move along edges, and distance is measured in hops (BFS). Supports both directed and undirected graphs with dynamic topology (vertices and edges can be added/removed at runtime).

Mirrors Julia Agents.jl GraphSpace.

Structs§

GraphSpace
A graph-based discrete space mirroring Julia Agents.jl GraphSpace.

Enums§

GraphSpaceError
Errors returned by graph space operations.
NeighborType
Neighbor search direction for directed graphs.

Type Aliases§

GraphPos
Position in a graph space - a node index (0..num_vertices).