public static void doEval(BeliefBase bb, int agentId, String query) throws BeliefBaseException {
    final long t0 = System.currentTimeMillis();
    bb.eval(agentId, query);
    final long t1 = System.currentTimeMillis();
    Log.info("Agent " + agentId + " searched for '" + query + "' " + Log.formattedDuration(t0, t1));
  }
public static void doEval ( BeliefBase bb , int agentId , String query ) throws BeliefBaseException { final long t0 = System . currentTimeMillis ( ) ; bb . eval ( agentId , query ) ; final long t1 = System . currentTimeMillis ( ) ; Log . info ( "Agent " + agentId + " searched for '" + query + "' " + Log . formattedDuration ( t0 , t1 ) ) ; }
Evaluates the given query on the given belief base for the agent.

@param bb the belief base to query
@param agentId the agent for which the query applies
@param query the belief query
@throws BeliefBaseException on query evaluation error
@since 0.3.4