owltools.sim
Class ConjunctiveSetInformationContentRatioSimilarity

java.lang.Object
  extended by owltools.sim.Similarity
      extended by owltools.sim.ConjunctiveSetInformationContentRatioSimilarity

public class ConjunctiveSetInformationContentRatioSimilarity
extends Similarity

score is the IC of the intersection of all attributes divided my min IC of a or b it's recommended this used as a sub-method of a MultiSimilarity check

Author:
cjm

Field Summary
 Set<org.semanticweb.owlapi.model.OWLObject> lcsIntersectionSet
           
 
Fields inherited from class owltools.sim.Similarity
minScore
 
Constructor Summary
ConjunctiveSetInformationContentRatioSimilarity()
           
 
Method Summary
 void calculate(SimEngine simEngine, org.semanticweb.owlapi.model.OWLObject a, org.semanticweb.owlapi.model.OWLObject b)
           
 org.semanticweb.owlapi.model.OWLClassExpression getLCS()
           
 void print(PrintStream s)
           
 void report(Reporter r)
           
 String toString()
           
protected  void translateResultsToOWLAxioms(String id, org.semanticweb.owlapi.model.OWLNamedIndividual result, Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
           
 
Methods inherited from class owltools.sim.Similarity
addResultsToOWLOntology, annotationIRI, createOWLOntologyFromResults, getScore, isAboveMinScore, print, print, printDescription, printDescription, setScore, setScore, splitIRI, translateResultsToOWLAxioms
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Field Detail

lcsIntersectionSet

public Set<org.semanticweb.owlapi.model.OWLObject> lcsIntersectionSet
Constructor Detail

ConjunctiveSetInformationContentRatioSimilarity

public ConjunctiveSetInformationContentRatioSimilarity()
Method Detail

toString

public String toString()
Overrides:
toString in class Similarity

calculate

public void calculate(SimEngine simEngine,
                      org.semanticweb.owlapi.model.OWLObject a,
                      org.semanticweb.owlapi.model.OWLObject b)
Specified by:
calculate in class Similarity

getLCS

public org.semanticweb.owlapi.model.OWLClassExpression getLCS()

translateResultsToOWLAxioms

protected void translateResultsToOWLAxioms(String id,
                                           org.semanticweb.owlapi.model.OWLNamedIndividual result,
                                           Set<org.semanticweb.owlapi.model.OWLAxiom> axioms)
Specified by:
translateResultsToOWLAxioms in class Similarity

report

public void report(Reporter r)
Overrides:
report in class Similarity

print

public void print(PrintStream s)
Overrides:
print in class Similarity


Copyright © 2010-2011. All Rights Reserved.