fr.inrialpes.exmo.ontosim.align
Class ASUnionPathCoverageMeasure
java.lang.Object
fr.inrialpes.exmo.ontosim.align.AbstractAlignmentSpaceMeasure<fr.inrialpes.exmo.align.onto.LoadedOntology<?>>
fr.inrialpes.exmo.ontosim.align.ASAbstractCoverageTraversal
fr.inrialpes.exmo.ontosim.align.ASUnionPathCoverageMeasure
- All Implemented Interfaces:
- AlignmentSpaceMeasure<fr.inrialpes.exmo.align.onto.LoadedOntology<?>>, Measure<fr.inrialpes.exmo.align.onto.LoadedOntology<?>>
public class ASUnionPathCoverageMeasure
- extends ASAbstractCoverageTraversal
This class implements measures based on the coverage of the initial ontology by the composition of alignments
Method Summary |
Hashtable<URI,URI> |
applyAlignment(org.semanticweb.owl.align.Alignment al,
Hashtable<URI,URI> entities)
returns an hashtable containing pairs: target URI x source URI
has modified entities so as to suppress those source URI which have been transformed. |
double |
getValue(fr.inrialpes.exmo.align.onto.Ontology o1,
fr.inrialpes.exmo.align.onto.Ontology o2)
|
void |
traverse(Set<URI> visited,
Hashtable<URI,URI> topreserve,
URI current,
URI target)
This is a depth first search traversal
From an ontology (current) and a set of entity still to preserve
it follows the alignments after having transformed the entities and
recorded those it failed to transform
it will return w |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
mapping
Hashtable<URI,URI> mapping
ASUnionPathCoverageMeasure
public ASUnionPathCoverageMeasure(org.semanticweb.owl.align.OntologyNetwork noo)
ASUnionPathCoverageMeasure
public ASUnionPathCoverageMeasure()
getValue
public double getValue(fr.inrialpes.exmo.align.onto.Ontology o1,
fr.inrialpes.exmo.align.onto.Ontology o2)
throws OntoSimException
- Overrides:
getValue
in class ASAbstractCoverageTraversal
- Throws:
OntoSimException
traverse
public void traverse(Set<URI> visited,
Hashtable<URI,URI> topreserve,
URI current,
URI target)
- This is a depth first search traversal
From an ontology (current) and a set of entity still to preserve
it follows the alignments after having transformed the entities and
recorded those it failed to transform
it will return w
applyAlignment
public Hashtable<URI,URI> applyAlignment(org.semanticweb.owl.align.Alignment al,
Hashtable<URI,URI> entities)
- returns an hashtable containing pairs: target URI x source URI
has modified entities so as to suppress those source URI which have been transformed.
(C) INRIA & friends, 2008-2009