src/core/reinforcement/function/AbstractFunctionEstimator.java
public boolean readyToUpdate(Agent agent) throws AgentException {
        if (!registeredAgents.contains(agent)) throw new AgentException("Agent is not registered for function estimator.");
        completedAgents.add(agent);
        return completedAgents.containsAll(registeredAgents);
    }
/**
     * Notifies that agent is ready to update.
     *
     * @param agent current agent.
     * @throws AgentException throws exception if agent is not registered for function estimator.
     * @return true if all registered agents are ready to update.
     */
Notifies that agent is ready to update.

@param agent current agent.
@throws AgentException throws exception if agent is not registered for function estimator.
@return true if all registered agents are ready to update.
Notifies that agent is ready to update . @param agent current agent . @throws AgentException throws exception if agent is not registered for function estimator . @return true if all registered agents are ready to update .
public boolean readyToUpdate(Agent agent) throws AgentException {
        if (!registeredAgents.contains(agent)) throw new AgentException("Agent is not registered for function estimator.");
        completedAgents.add(agent);
        return completedAgents.containsAll(registeredAgents);
    }
public boolean readyToUpdate ( Agent agent ) throws AgentException { if ( ! registeredAgents . contains ( agent ) ) throw new AgentException ( "Agent is not registered for function estimator." ) ; completedAgents . add ( agent ) ; return completedAgents . containsAll ( registeredAgents ) ; }
Notifies that agent is ready to update.
Notifies that agent is ready to update .