ABM framework for modeling swarm behavior