public class PsiDown extends RefinementOperatorAdapter
| Constructor and Description |
|---|
PsiDown(PosNegLP learningProblem,
AbstractReasonerComponent reasoningService) |
| Modifier and Type | Method and Description |
|---|---|
void |
init()
Method to be called after the component has been configured.
|
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
refine(org.semanticweb.owlapi.model.OWLClassExpression concept)
Standard refinement operation.
|
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
refine(org.semanticweb.owlapi.model.OWLClassExpression concept,
int maxLength,
List<org.semanticweb.owlapi.model.OWLClassExpression> knownRefinements)
Optional refinement operation, where the learning algorithm can
specify an additional bound on the length of descriptions and
a list of known refinements, which do not need to be returned.
|
getLengthMetric, refine, setLengthMetricisInitializedpublic PsiDown(PosNegLP learningProblem, AbstractReasonerComponent reasoningService)
public Set<org.semanticweb.owlapi.model.OWLClassExpression> refine(org.semanticweb.owlapi.model.OWLClassExpression concept)
RefinementOperatorrefine in interface RefinementOperatorrefine in class RefinementOperatorAdapterconcept - The description, which will be refined.public Set<org.semanticweb.owlapi.model.OWLClassExpression> refine(org.semanticweb.owlapi.model.OWLClassExpression concept, int maxLength, List<org.semanticweb.owlapi.model.OWLClassExpression> knownRefinements)
LengthLimitedRefinementOperatorrefine in interface LengthLimitedRefinementOperatorrefine in class RefinementOperatorAdapterconcept - The description, which will be refined.maxLength - The maximum length of returned description, where length is defined by OWLClassExpressionUtils.getLength(OWLClassExpression).knownRefinements - A collection of known refinements, which do not need to be returned.public void init() throws ComponentInitException
ComponentComponentInitException - This exception is thrown if any
exceptions occur within the initialisation process of this
component. As component developer, you are encouraged to
re-throw occurring exception as ComponentInitException and
giving an error message as well as the actually exception by
using the constructor ComponentInitException(String, Throwable).
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann