/** * Adds a new evaluator with a weight of 1.0. * * @param evaluator The new evaluator. */ public void addEvaluator(IServiceEvaluator evaluator) { addEvaluator(evaluator, 1.0); }
/** * Called when exception occurs. */ public void exceptionOccurred(Exception exception) { notifyException(exception); }
/** * */ public void finished() { rankResults(); }
/** * Called when result is available. */ public void customResultAvailable(Collection<S> result) { for(S res: result) { intermediateResultAvailable(res); } finished(); }
/** * Called when result is available. */ public void resultAvailable(Collection<S> result) { for(S res: result) { intermediateResultAvailable(res); } finished(); }
public void resultAvailable(Boolean result) { if(!isFinished() && result) { rankResults(); } }
public void exceptionOccurred(Exception exception) { notifyException(exception); } });
public void resultAvailable(List<Tuple2<S, Double>> result) { notifyResults(result); }
public void resultAvailable(List<Tuple2<S, Double>> result) { notifyResults(result); }
/** * */ public void finished() { rankResults(); }
/** * Called when result is available. */ public void customResultAvailable(Collection<S> result) { for(S res: result) { intermediateResultAvailable(res); } finished(); }
public void exceptionOccurred(Exception exception) { notifyException(exception); } });
public void exceptionOccurred(Exception exception) { notifyException(exception); } });
/** * */ public void finished() { rankResults(); }
public void resultAvailable(List<Tuple2<S, Double>> result) { notifyResults(result); }
public void exceptionOccurred(Exception exception) { notifyException(exception); } });
public void exceptionOccurred(Exception exception) { notifyException(exception); } });
/** * Called when exception occurs. */ public void exceptionOccurred(Exception exception) { notifyException(exception); }
/** * Called when exception occurs. */ public void exceptionOccurred(Exception exception) { notifyException(exception); }
/** * Called when exception occurs. */ public void exceptionOccurred(Exception exception) { notifyException(exception); }