public abstract class Similarity extends Object
Constructor and Description |
---|
Similarity() |
Modifier and Type | Method and Description |
---|---|
void |
addResultsToOWLOntology(org.semanticweb.owlapi.model.OWLOntology ont)
translates similarity results into OWL Axioms and saves axioms into an OWL Ontology
|
protected org.semanticweb.owlapi.model.IRI |
annotationIRI(String name) |
abstract void |
calculate(SimEngine simEngine,
org.semanticweb.owlapi.model.OWLObject a,
org.semanticweb.owlapi.model.OWLObject b) |
org.semanticweb.owlapi.model.OWLOntology |
createOWLOntologyFromResults() |
Double |
getScore() |
boolean |
isAboveMinScore() |
void |
print() |
void |
print(PrintStream s) |
void |
print(PrintStream s,
org.semanticweb.owlapi.model.OWLObject x) |
void |
printDescription(PrintStream s,
org.semanticweb.owlapi.model.OWLObject x) |
void |
printDescription(PrintStream s,
org.semanticweb.owlapi.model.OWLObject x,
int depth) |
void |
report(Reporter r) |
void |
setScore(Double score) |
void |
setScore(int score) |
protected String[] |
splitIRI(org.semanticweb.owlapi.model.IRI x) |
String |
toString() |
Set<org.semanticweb.owlapi.model.OWLAxiom> |
translateResultsToOWLAxioms() |
protected abstract void |
translateResultsToOWLAxioms(String id,
org.semanticweb.owlapi.model.OWLNamedIndividual result,
Set<org.semanticweb.owlapi.model.OWLAxiom> axioms) |
protected Double minScore
public Double getScore()
public void setScore(Double score)
public void setScore(int score)
public boolean isAboveMinScore()
public void print()
public void print(PrintStream s)
public void print(PrintStream s, org.semanticweb.owlapi.model.OWLObject x)
public void printDescription(PrintStream s, org.semanticweb.owlapi.model.OWLObject x)
public void printDescription(PrintStream s, org.semanticweb.owlapi.model.OWLObject x, int depth)
public abstract void calculate(SimEngine simEngine, org.semanticweb.owlapi.model.OWLObject a, org.semanticweb.owlapi.model.OWLObject b) throws SimEngine.SimilarityAlgorithmException
simEngine
- a
- b
- SimEngine.SimilarityAlgorithmException
public org.semanticweb.owlapi.model.OWLOntology createOWLOntologyFromResults() throws org.semanticweb.owlapi.model.OWLOntologyCreationException
org.semanticweb.owlapi.model.OWLOntologyCreationException
public void addResultsToOWLOntology(org.semanticweb.owlapi.model.OWLOntology ont)
ont
- public Set<org.semanticweb.owlapi.model.OWLAxiom> translateResultsToOWLAxioms()
protected abstract void translateResultsToOWLAxioms(String id, org.semanticweb.owlapi.model.OWLNamedIndividual result, Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
protected String[] splitIRI(org.semanticweb.owlapi.model.IRI x)
protected org.semanticweb.owlapi.model.IRI annotationIRI(String name)
public void report(Reporter r)
r
- Copyright © 2010–2015. All rights reserved.