org.dllearner.learningproblems
Class EvaluationCache

java.lang.Object
  extended by org.dllearner.learningproblems.EvaluationCache

public class EvaluationCache
extends Object

Caches results of previous concept evaluation to speed up further evaluations. Implements a fast evaluation approach, which tries to infer the covered examples of a given concept from previous results. TODO Under construction.

Author:
Jens Lehmann

Constructor Summary
EvaluationCache(SortedSet<Individual> examples)
           
 
Method Summary
 SortedSetTuple<Individual> infer(Description concept)
          Determines which examples are instances of a concept.
 void put(Description concept, SortedSet<Individual> individuals)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

EvaluationCache

public EvaluationCache(SortedSet<Individual> examples)
Method Detail

put

public void put(Description concept,
                SortedSet<Individual> individuals)

infer

public SortedSetTuple<Individual> infer(Description concept)
Determines which examples are instances of a concept.

Parameters:
concept -
Returns:
A tuple of two sets, where the first element is the set of individuals belonging to the class and the second element is the set of individuals not belonging to the class. For all elements, which are in neither of the sets, the cache cannot safely determine whether they are concept instances or not.


SourceForge.net Logo DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann