org.dllearner.utilities.datastructures
Class DescriptionSubsumptionTree

java.lang.Object
  extended by 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

Nested Class Summary
 class DescriptionSubsumptionTree.Node
          Datastructure for the tree
 
Field Summary
static boolean debug
          turns on logging
 
Constructor Summary
DescriptionSubsumptionTree(AbstractReasonerComponent rc)
           
 
Method Summary
 List<EvaluatedDescription> getMostGeneralDescriptions(boolean distinct)
           
 DescriptionSubsumptionTree.Node getRootNode()
           
 void insert(Collection<? extends EvaluatedDescription> evaluatedDescriptions)
           
 void insertEdPosNeg(Collection<EvaluatedDescriptionPosNeg> evaluatedDescriptions, int limit, double accuracyThreshold)
          Not very well implemented, feel free to write your own
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

debug

public static boolean debug
turns on logging

Constructor Detail

DescriptionSubsumptionTree

public DescriptionSubsumptionTree(AbstractReasonerComponent rc)
Parameters:
rc - An initialized reasoner component
Method Detail

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


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