org.dllearner.algorithms.properties
Class TransitiveObjectPropertyAxiomLearner

java.lang.Object
  extended by org.dllearner.core.AbstractComponent
      extended by org.dllearner.core.AbstractAxiomLearningAlgorithm
          extended by org.dllearner.algorithms.properties.TransitiveObjectPropertyAxiomLearner
All Implemented Interfaces:
AxiomLearningAlgorithm, Component, LearningAlgorithm

public class TransitiveObjectPropertyAxiomLearner
extends AbstractAxiomLearningAlgorithm


Constructor Summary
TransitiveObjectPropertyAxiomLearner(SparqlEndpointKS ks)
           
 
Method Summary
 Configurator getConfigurator()
          For each component, a configurator class is generated in package org.dllearner.core.configurators using the script { org.dllearner.scripts.ConfigJavaGenerator}.
 List<EvaluatedAxiom> getCurrentlyBestEvaluatedAxioms()
           
 int getMaxExecutionTimeInSeconds()
           
 int getMaxFetchedRows()
           
 ObjectProperty getPropertyToDescribe()
           
 void init()
          Method to be called after the component has been configured.
static void main(String[] args)
           
 void setMaxExecutionTimeInSeconds(int maxExecutionTimeInSeconds)
           
 void setMaxFetchedRows(int maxFetchedRows)
           
 void setPropertyToDescribe(ObjectProperty propertyToDescribe)
           
 void start()
          Starts the algorithm.
 
Methods inherited from class org.dllearner.core.AbstractAxiomLearningAlgorithm
getCurrentlyBestAxioms, getCurrentlyBestAxioms, getCurrentlyBestAxioms, getCurrentlyBestEvaluatedAxioms, getCurrentlyBestEvaluatedAxioms
 
Methods inherited from class org.dllearner.core.AbstractComponent
createConfigOptions, getName
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

TransitiveObjectPropertyAxiomLearner

public TransitiveObjectPropertyAxiomLearner(SparqlEndpointKS ks)
Method Detail

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


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