org.dllearner.utilities.learn
Class UsedEntitiesDetection

java.lang.Object
  extended by org.dllearner.utilities.learn.UsedEntitiesDetection

public class UsedEntitiesDetection
extends Object

This class takes a reasoner and individuals as input and detects the relevant (wrt. a learning process) classes and properties at a certain distance of the examples.

Author:
Jens Lehmann

Constructor Summary
UsedEntitiesDetection(AbstractReasonerComponent reasoner, Set<Individual> individuals, int maxDepth)
          Computes used properties in classes.
 
Method Summary
 Set<Set<ObjectProperty>> getKeys()
           
 Map<Set<ObjectProperty>,Set<NamedClass>> getUsedClasses()
           
 Map<Set<ObjectProperty>,Set<ObjectProperty>> getUsedObjectProperties()
           
 String toString()
           
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

UsedEntitiesDetection

public UsedEntitiesDetection(AbstractReasonerComponent reasoner,
                             Set<Individual> individuals,
                             int maxDepth)
Computes used properties in classes. TODO more explanation

Parameters:
reasoner - A reasoner.
individuals - A set of individuals to start from.
depth - The maximum depth for the search.
Method Detail

getKeys

public Set<Set<ObjectProperty>> getKeys()

getUsedClasses

public Map<Set<ObjectProperty>,Set<NamedClass>> getUsedClasses()
Returns:
the usedClasses

getUsedObjectProperties

public Map<Set<ObjectProperty>,Set<ObjectProperty>> getUsedObjectProperties()
Returns:
the usedObjectProperties

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