public class SimpleSubclassLearner extends AbstractAxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom,org.semanticweb.owlapi.model.OWLClassAssertionAxiom,org.semanticweb.owlapi.model.OWLClass> implements ClassExpressionLearningAlgorithm
Constructor and Description |
---|
SimpleSubclassLearner() |
SimpleSubclassLearner(SparqlEndpointKS ks) |
Modifier and Type | Method and Description |
---|---|
List<org.semanticweb.owlapi.model.OWLSubClassOfAxiom> |
getCurrentlyBestAxioms(int nrOfAxioms) |
List<org.semanticweb.owlapi.model.OWLClassExpression> |
getCurrentlyBestDescriptions(int nrOfDescriptions) |
List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>> |
getCurrentlyBestEvaluatedAxioms() |
List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>> |
getCurrentlyBestEvaluatedAxioms(int nrOfAxioms) |
List<? extends EvaluatedDescription<? extends Score>> |
getCurrentlyBestEvaluatedDescriptions(int nrOfDescriptions)
Return the best currently found concepts up to some maximum
count (no minimality filter used).
|
boolean |
isBatchMode() |
boolean |
isStrictOWLMode() |
static void |
main(String[] args) |
void |
setBatchMode(boolean batchMode) |
void |
setStrictOWLMode(boolean strictOWLMode) |
void |
start()
Starts the algorithm.
|
addFilterNamespace, explainScore, getAxiomType, getBestEvaluatedAxiom, getCurrentlyBestAxioms, getCurrentlyBestAxioms, getCurrentlyBestAxioms, getCurrentlyBestEvaluatedAxiom, getCurrentlyBestEvaluatedAxioms, getCurrentlyBestEvaluatedAxioms, getEntityToDescribe, getEvaluatedFramentSize, getLearningProblem, getMaxExecutionTimeInSeconds, getMaxFetchedRows, getNegativeExamples, getPositiveExamples, getReasoner, init, isReturnOnlyNewAxioms, isTimeout, isUseSampling, printSubset, setEntityToDescribe, setForceSPARQL_1_0_Mode, setKs, setLearningProblem, setMaxExecutionTimeInSeconds, setMaxFetchedRows, setProgressMonitor, setQueryExecutionFactory, setReasoner, setReturnOnlyNewAxioms, setUseSampling, wasTimeout
isInitialized
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getLearningProblem, setLearningProblem
public SimpleSubclassLearner()
public SimpleSubclassLearner(SparqlEndpointKS ks)
public List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>> getCurrentlyBestEvaluatedAxioms()
getCurrentlyBestEvaluatedAxioms
in interface AxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>
getCurrentlyBestEvaluatedAxioms
in class AbstractAxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom,org.semanticweb.owlapi.model.OWLClassAssertionAxiom,org.semanticweb.owlapi.model.OWLClass>
public List<org.semanticweb.owlapi.model.OWLClassExpression> getCurrentlyBestDescriptions(int nrOfDescriptions)
getCurrentlyBestDescriptions
in interface ClassExpressionLearningAlgorithm
nrOfDescriptions
- Limit for the number or returned descriptions.ClassExpressionLearningAlgorithm.getCurrentlyBestEvaluatedDescriptions(int)
public List<? extends EvaluatedDescription<? extends Score>> getCurrentlyBestEvaluatedDescriptions(int nrOfDescriptions)
ClassExpressionLearningAlgorithm
getCurrentlyBestEvaluatedDescriptions
in interface ClassExpressionLearningAlgorithm
nrOfDescriptions
- Maximum number of descriptions returned.public List<org.semanticweb.owlapi.model.OWLSubClassOfAxiom> getCurrentlyBestAxioms(int nrOfAxioms)
getCurrentlyBestAxioms
in interface AxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>
getCurrentlyBestAxioms
in class AbstractAxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom,org.semanticweb.owlapi.model.OWLClassAssertionAxiom,org.semanticweb.owlapi.model.OWLClass>
nrOfAxioms
- Limit for the number or returned axioms.public List<EvaluatedAxiom<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>> getCurrentlyBestEvaluatedAxioms(int nrOfAxioms)
getCurrentlyBestEvaluatedAxioms
in interface AxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom>
getCurrentlyBestEvaluatedAxioms
in class AbstractAxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom,org.semanticweb.owlapi.model.OWLClassAssertionAxiom,org.semanticweb.owlapi.model.OWLClass>
nrOfAxioms
- Limit for the number or returned evaluated axioms.public void start()
LearningAlgorithm
start
in interface LearningAlgorithm
start
in class AbstractAxiomLearningAlgorithm<org.semanticweb.owlapi.model.OWLSubClassOfAxiom,org.semanticweb.owlapi.model.OWLClassAssertionAxiom,org.semanticweb.owlapi.model.OWLClass>
public void setBatchMode(boolean batchMode)
public boolean isBatchMode()
public void setStrictOWLMode(boolean strictOWLMode)
public boolean isStrictOWLMode()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann