|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectorg.dllearner.tools.ore.ORE
public class ORE
This class contains init methods, and is used as broker between wizard and OWL-API.
| Constructor Summary | |
|---|---|
ORE()
|
|
| Method Summary | |
|---|---|
Collection<JLabel> |
descriptionToJLabelNeg(Individual ind,
Description desc)
Retrieves the description parts, that might cause inconsistency - for negative examples. |
Collection<JLabel> |
descriptionToJLabelPos(Individual ind,
Description desc)
Retrieves the description parts that might cause inconsistency - for positive examples. |
String |
getBaseURI()
|
Set<NamedClass> |
getComplements(Description desc,
Individual ind)
Get the complement classes where individual is asserted to. |
ReasonerComponent |
getFastReasoner()
|
NamedClass |
getIgnoredConcept()
|
Set<Individual> |
getIndividualsInPropertyRange(ObjectQuantorRestriction objRestr,
Individual ind)
Returns individuals that are in range of property. |
Set<Individual> |
getIndividualsNotInPropertyRange(ObjectQuantorRestriction objRestr,
Individual ind)
Returns individuals that are not in range of property. |
LearningAlgorithm |
getLa()
|
OntologyModifier |
getModifier()
|
Set<Description> |
getNegCriticalDescriptions(Individual ind,
Description desc)
Retrieves description parts that might cause inconsistency - for negative examples only. |
EvaluatedDescriptionPosNeg |
getNewClassDescription()
|
ReasonerComponent |
getOwlReasoner()
|
Set<NamedClass> |
getpossibleClassesMoveFrom(Individual ind)
Returns classes where individual might moved from. |
Set<NamedClass> |
getpossibleClassesMoveTo(Individual ind)
Returns classes where individual might moved to. |
Map<String,String> |
getPrefixes()
|
ReasonerComponent |
getReasonerComponent()
Returns the reasoningservice. |
void |
init()
|
void |
initReasoners()
Initialize the reasoners. |
static void |
main(String[] args)
|
void |
setClassToLearn(NamedClass oldClass)
Sets the class that has to be learned. |
void |
setKnowledgeSource(File f)
Applying knowledge source. |
void |
setLearningAlgorithm()
|
void |
setLearningProblem()
|
void |
setNewClassDescription(EvaluatedDescriptionPosNeg newClassDescription)
|
void |
setNoise(double noise)
|
void |
setPosNegExamples()
|
void |
start()
Starts the learning algorithm, setting noise value and ignored concepts. |
void |
updateReasoner()
Update reasoners ontology. |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public ORE()
| Method Detail |
|---|
public void setKnowledgeSource(File f)
public void initReasoners()
public ReasonerComponent getReasonerComponent()
public void setPosNegExamples()
public OntologyModifier getModifier()
public EvaluatedDescriptionPosNeg getNewClassDescription()
public String getBaseURI()
public Map<String,String> getPrefixes()
public ReasonerComponent getOwlReasoner()
public ReasonerComponent getFastReasoner()
public void setLearningProblem()
public void setNoise(double noise)
public void setLearningAlgorithm()
public void setClassToLearn(NamedClass oldClass)
oldClass - class that is choosen to be (re)learnedpublic void init()
public void start()
public void setNewClassDescription(EvaluatedDescriptionPosNeg newClassDescription)
public LearningAlgorithm getLa()
public NamedClass getIgnoredConcept()
public Set<Description> getNegCriticalDescriptions(Individual ind,
Description desc)
ind - desc -
public Collection<JLabel> descriptionToJLabelNeg(Individual ind,
Description desc)
ind - desc -
public Collection<JLabel> descriptionToJLabelPos(Individual ind,
Description desc)
ind - desc -
public Set<Individual> getIndividualsInPropertyRange(ObjectQuantorRestriction objRestr,
Individual ind)
objRestr - ind -
public Set<Individual> getIndividualsNotInPropertyRange(ObjectQuantorRestriction objRestr,
Individual ind)
objRestr - ind - public Set<NamedClass> getpossibleClassesMoveTo(Individual ind)
ind - the individual
public Set<NamedClass> getpossibleClassesMoveFrom(Individual ind)
ind - the individual
public void updateReasoner()
public Set<NamedClass> getComplements(Description desc,
Individual ind)
desc - ind - public static void main(String[] args)
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||