public class DLTreesRefinementOperator extends Object implements InstanceBasedRefinementOperator
Modifier and Type | Field and Description |
---|---|
static int |
ORIGINAL |
static int |
PSI |
static int |
RHO |
Constructor and Description |
---|
DLTreesRefinementOperator() |
DLTreesRefinementOperator(PosNegLP lp,
AbstractReasonerComponent reasoner,
int beam) |
Modifier and Type | Method and Description |
---|---|
SortedSet<org.semanticweb.owlapi.model.OWLClassExpression> |
generateNewConcepts(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs,
boolean seed) |
ArrayList<org.semanticweb.owlapi.model.OWLClass> |
getAllConcepts() |
ArrayList<org.semanticweb.owlapi.model.OWLObjectProperty> |
getAllRoles() |
int |
getBeam() |
PosNegLP |
getLp() |
org.semanticweb.owlapi.model.OWLClassExpression |
getRandomConcept()
Random concept generation
|
int |
getRo() |
void |
init()
Method to be called after the component has been configured.
|
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
refine(org.semanticweb.owlapi.model.OWLClassExpression description)
Standard refinement operation.
|
Set<org.semanticweb.owlapi.model.OWLClassExpression> |
refine(org.semanticweb.owlapi.model.OWLClassExpression definition,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs,
SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs) |
void |
setAllConcepts(ArrayList<org.semanticweb.owlapi.model.OWLClass> allConcepts) |
void |
setAllRoles(ArrayList<org.semanticweb.owlapi.model.OWLObjectProperty> allRoles) |
void |
setBeam(int i) |
void |
setLp(PosNegLP lp) |
void |
setReasoner(AbstractReasonerComponent reasoner) |
void |
setReasoner(Reasoner reasoner) |
void |
setRo(int ro) |
public static final int ORIGINAL
public static final int RHO
public static final int PSI
public DLTreesRefinementOperator()
public DLTreesRefinementOperator(PosNegLP lp, AbstractReasonerComponent reasoner, int beam)
public int getRo()
public void setRo(int ro)
public ArrayList<org.semanticweb.owlapi.model.OWLClass> getAllConcepts()
public void setAllConcepts(ArrayList<org.semanticweb.owlapi.model.OWLClass> allConcepts)
public ArrayList<org.semanticweb.owlapi.model.OWLObjectProperty> getAllRoles()
public void setAllRoles(ArrayList<org.semanticweb.owlapi.model.OWLObjectProperty> allRoles)
public org.semanticweb.owlapi.model.OWLClassExpression getRandomConcept()
public SortedSet<org.semanticweb.owlapi.model.OWLClassExpression> generateNewConcepts(SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs, boolean seed)
public Set<org.semanticweb.owlapi.model.OWLClassExpression> refine(org.semanticweb.owlapi.model.OWLClassExpression description)
RefinementOperator
refine
in interface RefinementOperator
description
- The description, which will be refined.public void init() throws ComponentInitException
Component
init
in interface Component
ComponentInitException
- 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)
.public void setReasoner(AbstractReasonerComponent reasoner)
public void setReasoner(Reasoner reasoner)
setReasoner
in interface ReasoningBasedRefinementOperator
public Set<org.semanticweb.owlapi.model.OWLClassExpression> refine(org.semanticweb.owlapi.model.OWLClassExpression definition, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> posExs, SortedSet<org.semanticweb.owlapi.model.OWLIndividual> negExs)
refine
in interface InstanceBasedRefinementOperator
public void setBeam(int i)
public int getBeam()
DL-Learner is licenced under the terms of the GNU General Public License.
Copyright © 2007-2019 Jens Lehmann