org.dllearner.algorithms.fuzzydll
Class FuzzyOENode

java.lang.Object
  extended by org.dllearner.algorithms.fuzzydll.FuzzyOENode
All Implemented Interfaces:
SearchTreeNode

public class FuzzyOENode
extends Object
implements SearchTreeNode

A node in the search tree of the ontology engineering algorithm. Differences to the node structures in other algorithms (this may change): - covered examples are not stored in node (i.e. coverage needs to be recomputed for child nodes, which costs time but saves memory) - only evaluated nodes are stored - too weak nodes are not stored - redundant nodes are not stored (?) - only accuracy is stored to make the node structure reusable for different learning problems and -algorithms

Author:
Jens Lehmann

Constructor Summary
FuzzyOENode(FuzzyOENode parentNode, Description description, double accuracy)
           
 
Method Summary
 void addChild(FuzzyOENode node)
           
 double getAccuracy()
           
 List<FuzzyOENode> getChildren()
          The children of this node.
 Description getDescription()
           
 Description getExpression()
          Gets the OWL 2 class expression at this search tree node.
 int getHorizontalExpansion()
           
 FuzzyOENode getParent()
           
 int getRefinementCount()
           
 String getShortDescription(String baseURI)
           
 void incHorizontalExpansion()
           
 boolean isRoot()
           
 void setRefinementCount(int refinementCount)
           
 String toString()
           
 String toTreeString()
           
 String toTreeString(String baseURI)
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

FuzzyOENode

public FuzzyOENode(FuzzyOENode parentNode,
                   Description description,
                   double accuracy)
Method Detail

addChild

public void addChild(FuzzyOENode node)

incHorizontalExpansion

public void incHorizontalExpansion()

isRoot

public boolean isRoot()

getDescription

public Description getDescription()
Returns:
the description

getExpression

public Description getExpression()
Description copied from interface: SearchTreeNode
Gets the OWL 2 class expression at this search tree node.

Specified by:
getExpression in interface SearchTreeNode
Returns:
The expression at this node.

getAccuracy

public double getAccuracy()
Returns:
the accuracy

getParent

public FuzzyOENode getParent()
Returns:
the parent

getChildren

public List<FuzzyOENode> getChildren()
Description copied from interface: SearchTreeNode
The children of this node.

Specified by:
getChildren in interface SearchTreeNode
Returns:
the children

getHorizontalExpansion

public int getHorizontalExpansion()
Returns:
the horizontalExpansion

getShortDescription

public String getShortDescription(String baseURI)

toString

public String toString()
Overrides:
toString in class Object

toTreeString

public String toTreeString()

toTreeString

public String toTreeString(String baseURI)

getRefinementCount

public int getRefinementCount()
Returns:
the refinementCount

setRefinementCount

public void setRefinementCount(int refinementCount)
Parameters:
refinementCount - the refinementCount to set


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