org.dllearner.utilities.datastructures
Class DescriptionSubsumptionTree
java.lang.Object
org.dllearner.utilities.datastructures.DescriptionSubsumptionTree
public class DescriptionSubsumptionTree
- extends Object
This class takes Descritptions and a reasoner and orders the
descriptions by subsumption into a tree, represented by the internal class "Node"
- Author:
- Sebastian Hellmann
|
Field Summary |
static boolean |
debug
turns on logging |
debug
public static boolean debug
- turns on logging
DescriptionSubsumptionTree
public DescriptionSubsumptionTree(AbstractReasonerComponent rc)
- Parameters:
rc - An initialized reasoner component
getRootNode
public DescriptionSubsumptionTree.Node getRootNode()
getMostGeneralDescriptions
public List<EvaluatedDescription> getMostGeneralDescriptions(boolean distinct)
insert
public void insert(Collection<? extends EvaluatedDescription> evaluatedDescriptions)
insertEdPosNeg
public void insertEdPosNeg(Collection<EvaluatedDescriptionPosNeg> evaluatedDescriptions,
int limit,
double accuracyThreshold)
- Not very well implemented, feel free to write your own
- Parameters:
evaluatedDescriptions - limit - accuracyThreshold -
toString
public String toString()
- Overrides:
toString in class Object
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann