public interface IReasoner
| Modifier and Type | Method and Description |
|---|---|
IReasoner |
classify()
Classifies the current axioms.
|
Ontology |
getClassifiedOntology()
Returns an
IOntology that represents the generated taxonomy. |
Ontology |
getClassifiedOntology(Ontology ont)
Returns an
IOntology that represents the generated taxonomy. |
boolean |
isClassified()
Determines if the ontology has been classified.
|
void |
loadAxioms(Iterator<Axiom> axioms)
Loads and indexes the supplied axioms.
|
void |
loadAxioms(Ontology ont)
Loads and indexes the supplied axioms.
|
void |
loadAxioms(Set<Axiom> axioms)
Loads and indexes the supplied axioms.
|
void |
prune()
Removes all the state in the classifier except the taxonomy generated
after classification.
|
void |
save(OutputStream out)
Saves this reasoner to the specified
OutputStream. |
void loadAxioms(Set<Axiom> axioms)
axioms - void loadAxioms(Iterator<Axiom> axioms)
axioms - void loadAxioms(Ontology ont)
axioms - IReasoner classify()
void prune()
RuntimeException.Ontology getClassifiedOntology()
IOntology that represents the generated taxonomy.
If no axioms have yet been classified it throws a
RuntimeException.Ontology getClassifiedOntology(Ontology ont)
IOntology that represents the generated taxonomy.
If no axioms have yet been classified it throws a
RuntimeException.void save(OutputStream out)
OutputStream.out - The OutputStream.boolean isClassified()
Copyright © 2019 Australian e-Health Research Centre. All Rights Reserved.