org.dllearner.utilities.owl
Class EvaluatedDescriptionSet
java.lang.Object
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
EvaluatedDescriptionSet
public EvaluatedDescriptionSet(int maxSize)
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
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann