INRIA & UMontrŽal

fr.inrialpes.exmo.align.impl.method
Class EditDistNameAlignment

java.lang.Object
  extended byfr.inrialpes.exmo.align.impl.BasicAlignment
      extended byfr.inrialpes.exmo.align.impl.DistanceAlignment
          extended byfr.inrialpes.exmo.align.impl.method.EditDistNameAlignment
All Implemented Interfaces:
Alignment, AlignmentProcess

public class EditDistNameAlignment
extends DistanceAlignment
implements AlignmentProcess

This class aligns ontology with regard to the editing distance between class names. TODO: It does not normalize the results...

Version:
$Id: EditDistNameAlignment.java,v 1.6 2004/11/03 17:18:28 euzenat Exp $
Author:
Jérôme Euzenat

Nested Class Summary
protected  class EditDistNameAlignment.EditDistName
           
 
Field Summary
 
Fields inherited from class fr.inrialpes.exmo.align.impl.DistanceAlignment
 
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
debug, hash1, hash2, level, onto1, onto2, type, uri1, uri2
 
Constructor Summary
EditDistNameAlignment(OWLOntology onto1, OWLOntology onto2)
          Creation
 
Method Summary
 void align(Alignment alignment, Parameters params)
          This is not exactly equal, this uses toLowerCase()
private  double max(double i, double j)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.DistanceAlignment
addAlignDistanceCell, extract, getAlignedDistance1, getAlignedDistance2, getSimilarity, selectBestMatch, setSimilarity
 
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
accept, addAlignCell, addAlignCell, compose, cut, cut, cut2, dump, getAlignCell1, getAlignCell2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getElements, getFile1, getFile2, getLevel, getOntology1, getOntology2, getType, harden, ingest, init, inverse, join, meet, nbCells, render, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 
Methods inherited from interface org.semanticweb.owl.align.Alignment
accept, addAlignCell, addAlignCell, compose, cut, cut, dump, getAlignCell1, getAlignCell2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getElements, getFile1, getFile2, getLevel, getOntology1, getOntology2, getType, harden, inverse, join, meet, nbCells, render, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType
 

Constructor Detail

EditDistNameAlignment

public EditDistNameAlignment(OWLOntology onto1,
                             OWLOntology onto2)
Creation

Method Detail

max

private double max(double i,
                   double j)

align

public void align(Alignment alignment,
                  Parameters params)
           throws AlignmentException,
                  OWLException
This is not exactly equal, this uses toLowerCase()

Specified by:
align in interface AlignmentProcess
Throws:
AlignmentException
OWLException

INRIA & UMontrŽal

..no bottom yet...