public class ExampleBasedNode extends AbstractSearchTreeNode<ExampleBasedNode> implements SearchTreeNode, WeakSearchTreeNode
Modifier and Type | Class and Description |
---|---|
static class |
ExampleBasedNode.QualityEvaluationMethod |
Constructor and Description |
---|
ExampleBasedNode(org.semanticweb.owlapi.model.OWLClassExpression concept,
AbstractCELA learningAlgorithm) |
Modifier and Type | Method and Description |
---|---|
void |
addChild(ExampleBasedNode child)
add a child node to this node
|
double |
getAccuracy() |
SortedSet<org.semanticweb.owlapi.model.OWLClassExpression> |
getChildConcepts() |
org.semanticweb.owlapi.model.OWLClassExpression |
getConcept() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getCoveredNegatives() |
Set<org.semanticweb.owlapi.model.OWLIndividual> |
getCoveredPositives() |
int |
getCovPosMinusCovNeg()
Used to detect whether one node is more accurate than another one
with calculating accuracy itself.
|
org.semanticweb.owlapi.model.OWLClassExpression |
getExpression()
Gets the OWL 2 class expression at this search tree node.
|
int |
getHorizontalExpansion() |
int |
getQuality() |
ExampleBasedNode.QualityEvaluationMethod |
getQualityEvaluationMethod() |
String |
getShortDescription() |
String |
getStats() |
boolean |
isQualityEvaluated() |
boolean |
isRedundant() |
boolean |
isTooWeak() |
void |
setCoveredExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> coveredPositives,
Set<org.semanticweb.owlapi.model.OWLIndividual> coveredNegatives) |
void |
setHorizontalExpansion(int horizontalExpansion) |
void |
setQualityEvaluationMethod(ExampleBasedNode.QualityEvaluationMethod qualityEvaluationMethod) |
void |
setRedundant(boolean isRedundant) |
void |
setTooWeak(boolean isTooWeak) |
String |
toSimpleString() |
String |
toString() |
getChildren, getParent, notifyTree, notifyTrees
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
getChildren
public ExampleBasedNode(org.semanticweb.owlapi.model.OWLClassExpression concept, AbstractCELA learningAlgorithm)
public void setHorizontalExpansion(int horizontalExpansion)
public void setRedundant(boolean isRedundant)
public void setTooWeak(boolean isTooWeak)
public void addChild(ExampleBasedNode child)
AbstractSearchTreeNode
addChild
in class AbstractSearchTreeNode<ExampleBasedNode>
child
- the child nodepublic void setQualityEvaluationMethod(ExampleBasedNode.QualityEvaluationMethod qualityEvaluationMethod)
public void setCoveredExamples(Set<org.semanticweb.owlapi.model.OWLIndividual> coveredPositives, Set<org.semanticweb.owlapi.model.OWLIndividual> coveredNegatives)
public int getQuality()
public String toSimpleString()
public String getShortDescription()
public double getAccuracy()
public int getCovPosMinusCovNeg()
public Set<org.semanticweb.owlapi.model.OWLIndividual> getCoveredPositives()
public Set<org.semanticweb.owlapi.model.OWLIndividual> getCoveredNegatives()
public SortedSet<org.semanticweb.owlapi.model.OWLClassExpression> getChildConcepts()
public org.semanticweb.owlapi.model.OWLClassExpression getConcept()
public org.semanticweb.owlapi.model.OWLClassExpression getExpression()
SearchTreeNode
getExpression
in interface SearchTreeNode
getExpression
in class AbstractSearchTreeNode<ExampleBasedNode>
public ExampleBasedNode.QualityEvaluationMethod getQualityEvaluationMethod()
public int getHorizontalExpansion()
public boolean isQualityEvaluated()
public boolean isRedundant()
public boolean isTooWeak()
isTooWeak
in interface WeakSearchTreeNode
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann