Currently the adjacency matrix is the agent stack. The bonabeau model has agent moving around on a finite space. In the current implementation the whole grid is assumed to be an agent. A different update scheme needs to be implemented for higher efficiency.
Suggestions
Keep track of agent, and update only these.
pros:
more flexibility in agent dynamics
higher efficiency in sparse systems
cons:
basically redesign from the ground up -> maybe better for different language too due to jump from memoryviews to other data structures, prolly structs.
Currently the adjacency matrix is the agent stack. The bonabeau model has agent moving around on a finite space. In the current implementation the whole grid is assumed to be an agent. A different update scheme needs to be implemented for higher efficiency.
Suggestions
Keep track of agent, and update only these.
Keep as is and deal with inefficiency