jill/src/main/java/io/github/agentsoz/jill/Main.java
public static void setAgentIdle(int agentId, boolean isIdle) {
    int poolid = poolid(agentId);
    intentionSelectors[poolid].setAgentIdle(agentId, isIdle);
  }
public static void setAgentIdle(int agentId, boolean isIdle) {
    int poolid = poolid(agentId);
    intentionSelectors[poolid].setAgentIdle(agentId, isIdle);
  }
Sets a bit in the agentsIdle cache, to mark if this agent is idle (or not).

@param agentId the agent is question
@param isIdle the new idle status of this agent