fr.inrialpes.exmo.align.impl.method
Class ClassStructAlignment
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicAlignment
fr.inrialpes.exmo.align.impl.DistanceAlignment
fr.inrialpes.exmo.align.impl.method.ClassStructAlignment
- All Implemented Interfaces:
- Alignment, AlignmentProcess
- public class ClassStructAlignment
- extends DistanceAlignment
- implements AlignmentProcess
This class has been built for ISWC experiments with bibliography.
It implements a non iterative (one step) OLA algorithms based on
the name of classes and properties. It could be made iterative by
just adding range/domain on properties...
The parameters are:
- threshold: above what do we select for the alignment;
- epsillon [ignored]: for convergence
- pic1: weigth for class name
- pic2: weight for class attributes
- pia1 [ignored=1]: weigth for property name
- pia3 [ignored=0]: weigth for property domain
- pia4 [ignored=0]: weigth for property range
- Version:
- $Id: ClassStructAlignment.java,v 1.2 2004/10/15 07:54:55 euzenat Exp $
- Author:
- Jérôme Euzenat
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 |
ClassStructAlignment
public ClassStructAlignment(OWLOntology onto1,
OWLOntology onto2)
- Creation
max
private double max(double i,
double j)
align
public void align(Alignment alignment,
Parameters params)
throws AlignmentException,
OWLException
- Processing
- Specified by:
align
in interface AlignmentProcess
- Throws:
AlignmentException
OWLException
getProperties
public void getProperties(OWLDescription desc,
OWLOntology o,
java.util.Set list)
getProperties
private java.util.Set getProperties(OWLClass cl,
OWLOntology o)
throws OWLException
- Throws:
OWLException
..no bottom yet...