org.dllearner.algorithms.el
Class ELDescriptionEdge

java.lang.Object
  extended by org.dllearner.algorithms.el.ELDescriptionEdge

public class ELDescriptionEdge
extends Object

A (directed) edge in an EL description tree. It consists of an edge label, which is an object property, and the EL description tree the edge points to.

Author:
Jens Lehmann

Constructor Summary
ELDescriptionEdge(ObjectProperty label, ELDescriptionNode tree)
          Constructs and edge given a label and an EL description tree.
 
Method Summary
 ObjectProperty getLabel()
           
 ELDescriptionNode getNode()
           
 void setLabel(ObjectProperty label)
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ELDescriptionEdge

public ELDescriptionEdge(ObjectProperty label,
                         ELDescriptionNode tree)
Constructs and edge given a label and an EL description tree.

Parameters:
label - The label of this edge.
tree - The tree the edge points to (edges are directed).
Method Detail

setLabel

public void setLabel(ObjectProperty label)
Parameters:
label - the label to set

getLabel

public ObjectProperty getLabel()
Returns:
The label of this edge.

getNode

public ELDescriptionNode getNode()
Returns:
The EL description tree

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