protected override void notifyViewOfMetrics() { if (notifier != null) { ISet <string> keys = _search.getMetrics().keySet(); foreach (string key in keys) { notifier.NotifyViews("METRIC[" + key + "]=" + _search.getMetrics().get(key)); } } }
protected void notifyViewOfMetrics() { if (notifier != null) { notifier.NotifyViews("Search metrics: " + _search.getMetrics()); } }
public SearchAgent(IProblem <S, A> p, ISearchForActions <S, A> search) { ICollection <A> actions = search.findActions(p); actionList = CollectionFactory.CreateQueue <A>(); if (null != actions) { actionList.AddAll(actions); } // actionIterator = actionList.iterator(); searchMetrics = search.getMetrics(); }