org.dllearner.utilities.owl
Class EvaluatedDescriptionSet

java.lang.Object
  extended by org.dllearner.utilities.owl.EvaluatedDescriptionSet

public class EvaluatedDescriptionSet
extends Object

A set of evaluated descriptions, which is bound by a maximum size. Can be used by algorithms to store the most promising n class descriptions.

Author:
Jens Lehmann

Constructor Summary
EvaluatedDescriptionSet(int maxSize)
           
 
Method Summary
 void add(Description description, double accuracy, AbstractLearningProblem problem)
           
 void add(EvaluatedDescription ed)
           
 void addAll(Collection<EvaluatedDescriptionPosNeg> eds)
           
 EvaluatedDescription getBest()
           
 double getBestAccuracy()
           
 int getMaxSize()
           
 TreeSet<EvaluatedDescription> getSet()
           
 EvaluatedDescription getWorst()
           
 boolean isFull()
           
 int size()
           
 List<Description> toDescriptionList()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

EvaluatedDescriptionSet

public EvaluatedDescriptionSet(int maxSize)
Method Detail

add

public void add(Description description,
                double accuracy,
                AbstractLearningProblem problem)

add

public void add(EvaluatedDescription ed)

addAll

public void addAll(Collection<EvaluatedDescriptionPosNeg> eds)

isFull

public boolean isFull()

size

public int size()

getBest

public EvaluatedDescription getBest()

getBestAccuracy

public double getBestAccuracy()

getWorst

public EvaluatedDescription getWorst()

getSet

public TreeSet<EvaluatedDescription> getSet()
Returns:
the set

toDescriptionList

public List<Description> toDescriptionList()

toString

public String toString()
Overrides:
toString in class Object

getMaxSize

public int getMaxSize()
Returns:
the maxSize


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