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 .