org.dllearner.utilities.learn
Class UsedEntitiesDetection
java.lang.Object
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
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.
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
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann