projectmesa/mesa

DiscreteEveImprovements to the DiscreteEventScheduler classntScheduler class

chenyuyou opened this issue · 3 comments

What's the problem this feature will solve?

In each step process in some very complex scenarios, the functions a1 and a2 of agent_A are executed first, then the functions b1 and b2 of agent_B are executed, and then the functions a3 and a4 in agent_A are executed again.
Describe the solution you'd like

Additional context

rht commented

Is staged activation sufficient?

class StagedActivation(BaseScheduler):

This also sounds like something you might want to do through an AgentSet (assuming agent_A and agent_B both belong to some definable group).

This also sounds like something you might want to do through an AgentSet (assuming agent_A and agent_B both belong to some definable group).

Thanks for your help!!