INRIA & UMontrŽal

fr.inrialpes.exmo.align.impl
Class EditDistNameAlignment

java.lang.Object
  |
  +--fr.inrialpes.exmo.align.impl.BasicAlignment
        |
        +--fr.inrialpes.exmo.align.impl.EditDistNameAlignment
All Implemented Interfaces:
Alignment, AlignmentProcess

public class EditDistNameAlignment
extends BasicAlignment
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.1.1.1 2004/01/22 14:31:06 euzenat Exp $
Author:
Jérôme Euzenat

Field Summary
 
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
hash1, hash2, onto1, onto2, type
 
Constructor Summary
EditDistNameAlignment(OWLOntology onto1, OWLOntology onto2)
          Creation
 
Method Summary
 void align(Alignment alignment)
          This is not exactly equal, this uses toLowerCase()
private  double max(double i, double j)
           
 
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment
addAlignCell, addAlignCell, cut, dump, getAlignedMeasure1, getAlignedMeasure2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getOntology1, getOntology2, getType, init, setOntology1, setOntology2, setType, write
 
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
addAlignCell, addAlignCell, dump, getAlignedMeasure1, getAlignedMeasure2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getOntology1, getOntology2, getType, setOntology1, setOntology2, setType, write
 

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)
           throws AlignmentException,
                  OWLException
This is not exactly equal, this uses toLowerCase()

Specified by:
align in interface AlignmentProcess
AlignmentException
OWLException

INRIA & UMontrŽal

..no bottom yet...