org.dllearner.algorithms.properties
Class TransitiveObjectPropertyAxiomLearner
java.lang.Object
org.dllearner.core.AbstractComponent
org.dllearner.core.AbstractAxiomLearningAlgorithm
org.dllearner.algorithms.properties.TransitiveObjectPropertyAxiomLearner
- All Implemented Interfaces:
- AxiomLearningAlgorithm, Component, LearningAlgorithm
public class TransitiveObjectPropertyAxiomLearner
- extends AbstractAxiomLearningAlgorithm
TransitiveObjectPropertyAxiomLearner
public TransitiveObjectPropertyAxiomLearner(SparqlEndpointKS ks)
getMaxExecutionTimeInSeconds
public int getMaxExecutionTimeInSeconds()
setMaxExecutionTimeInSeconds
public void setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
getPropertyToDescribe
public ObjectProperty getPropertyToDescribe()
setPropertyToDescribe
public void setPropertyToDescribe(ObjectProperty propertyToDescribe)
getMaxFetchedRows
public int getMaxFetchedRows()
setMaxFetchedRows
public void setMaxFetchedRows(int maxFetchedRows)
start
public void start()
- Description copied from interface:
LearningAlgorithm
- Starts the algorithm. It runs until paused, stopped, or
a termination criterion has been reached.
- Specified by:
start in interface LearningAlgorithm- Overrides:
start in class AbstractAxiomLearningAlgorithm
getCurrentlyBestEvaluatedAxioms
public List<EvaluatedAxiom> getCurrentlyBestEvaluatedAxioms()
- Specified by:
getCurrentlyBestEvaluatedAxioms in interface AxiomLearningAlgorithm- Overrides:
getCurrentlyBestEvaluatedAxioms in class AbstractAxiomLearningAlgorithm
- Returns:
- The best evaluated axioms found by the learning algorithm so far.
getConfigurator
public Configurator getConfigurator()
- Description copied from class:
AbstractComponent
- For each component, a configurator class is generated in package
org.dllearner.core.configurators using the script
{ org.dllearner.scripts.ConfigJavaGenerator}. The configurator
provides set and get methods for the configuration options of
a component.
- Overrides:
getConfigurator in class AbstractAxiomLearningAlgorithm
- Returns:
- An object allowing to configure this component.
init
public void init()
throws ComponentInitException
- Description copied from interface:
Component
- Method to be called after the component has been configured.
Implementation of components can overwrite this method to
perform setup and initialisation tasks for this component.
- Specified by:
init in interface Component- Overrides:
init in class AbstractAxiomLearningAlgorithm
- Throws:
ComponentInitException - This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
rethrow occuring exception as ComponentInitException and
giving an error message as well as the actualy exception by
using the constructor ComponentInitException.ComponentInitException(String, Throwable).
main
public static void main(String[] args)
throws Exception
- Throws:
Exception
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2011 Jens Lehmann