OntoSim 1.0

fr.inrialpes.exmo.ontosim.align
Class ASUnionPathCoverageMeasure

java.lang.Object
  extended by fr.inrialpes.exmo.ontosim.align.AbstractAlignmentSpaceMeasure<fr.inrialpes.exmo.align.onto.LoadedOntology<?>>
      extended by fr.inrialpes.exmo.ontosim.align.ASAbstractCoverageTraversal
          extended by 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


Nested Class Summary
 
Nested classes/interfaces inherited from interface fr.inrialpes.exmo.ontosim.Measure
Measure.TYPES
 
Field Summary
(package private)  Hashtable<URI,URI> mapping
           
 
Fields inherited from class fr.inrialpes.exmo.ontosim.align.ASAbstractCoverageTraversal
EquivRel, prevtable
 
Fields inherited from class fr.inrialpes.exmo.ontosim.align.AbstractAlignmentSpaceMeasure
measureMatrix, network
 
Constructor Summary
ASUnionPathCoverageMeasure()
           
ASUnionPathCoverageMeasure(org.semanticweb.owl.align.OntologyNetwork noo)
           
 
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 fr.inrialpes.exmo.ontosim.align.ASAbstractCoverageTraversal
getDissim, getMeasureValue, getMType, getSim, includedIn, objectsToPreserve
 
Methods inherited from class fr.inrialpes.exmo.ontosim.align.AbstractAlignmentSpaceMeasure
addAlignment, getAlignments, setAlignmentSpace
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Field Detail

mapping

Hashtable<URI,URI> mapping
Constructor Detail

ASUnionPathCoverageMeasure

public ASUnionPathCoverageMeasure(org.semanticweb.owl.align.OntologyNetwork noo)

ASUnionPathCoverageMeasure

public ASUnionPathCoverageMeasure()
Method Detail

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.


OntoSim 1.0

(C) INRIA & friends, 2008-2009