fr.inrialpes.exmo.align.impl.method
Class StrucSubsDistAlignment
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicAlignment
fr.inrialpes.exmo.align.impl.DistanceAlignment
fr.inrialpes.exmo.align.impl.method.StrucSubsDistAlignment
- All Implemented Interfaces:
- Alignment, AlignmentProcess
- public class StrucSubsDistAlignment
- 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: StrucSubsDistAlignment.java 175 2005-09-26 22:44:10Z euzenat $
- Author:
- Jérôme Euzenat
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
debug, extensions, hash1, hash2, level, onto1, onto2, time, type, uri1, uri2 |
Method Summary |
void |
align(Alignment alignment,
Parameters params)
Processing |
private java.util.Set |
getProperties(OWLClass cl,
OWLOntology o)
|
void |
getProperties(OWLDescription desc,
OWLOntology o,
java.util.Set list,
java.util.Set accu)
|
private double |
max(double i,
double j)
|
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
accept, addAlignCell, addAlignCell, addCell, compose, cut, cut, cut2, dump, getAlignCell1, getAlignCell2, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getType, harden, ingest, init, inverse, join, meet, nbCells, removeAlignCell, render, setExtension, 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, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getType, harden, inverse, join, meet, nbCells, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType |
StrucSubsDistAlignment
public StrucSubsDistAlignment(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
- Overrides:
align
in class DistanceAlignment
- Throws:
AlignmentException
OWLException
getProperties
public void getProperties(OWLDescription desc,
OWLOntology o,
java.util.Set list,
java.util.Set accu)
getProperties
private java.util.Set getProperties(OWLClass cl,
OWLOntology o)
throws OWLException
- Throws:
OWLException
..no bottom yet...