fr.inrialpes.exmo.align.impl
Class DistanceAlignment
java.lang.Object
fr.inrialpes.exmo.align.impl.BasicAlignment
fr.inrialpes.exmo.align.impl.DistanceAlignment
- All Implemented Interfaces:
- Alignment
- Direct Known Subclasses:
- ClassNameAlignment, ClassStructAlignment, EditDistNameAlignment, JWNLAlignmentTest, NameAndPropertyAlignment, PropSubsDistAlignment, StrucSubsDistAlignment, SubsDistNameAlignment
- public class DistanceAlignment
- extends BasicAlignment
Represents an OWL ontology alignment. An ontology comprises a number of
collections. Each ontology has a number of classes, properties and
individuals, along with a number of axioms asserting information
about those objects.
- Version:
- $Id: DistanceAlignment.java,v 1.2 2005/06/15 06:54:33 euzenat Exp $
- Author:
- Jérôme Euzenat
Method Summary |
void |
addAlignDistanceCell(java.lang.Object ob1,
java.lang.Object ob2,
java.lang.String relation,
double measure)
|
Alignment |
extract(java.lang.String type,
Parameters param)
Extract the alignment form the Similarity
FRom OLA |
double |
getAlignedDistance1(java.lang.Object ob)
|
double |
getAlignedDistance2(java.lang.Object ob)
|
Similarity |
getSimilarity()
|
protected void |
selectBestMatch(int nbobj1,
java.util.Vector list1,
int nbobj2,
java.util.Vector list2,
double[][] matrix,
double threshold,
java.lang.Object way)
|
void |
setSimilarity(Similarity s)
|
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 |
sim
Similarity sim
DistanceAlignment
public DistanceAlignment(OWLOntology onto1,
OWLOntology onto2)
- Creation
setSimilarity
public void setSimilarity(Similarity s)
getSimilarity
public Similarity getSimilarity()
addAlignDistanceCell
public void addAlignDistanceCell(java.lang.Object ob1,
java.lang.Object ob2,
java.lang.String relation,
double measure)
throws AlignmentException
- Throws:
AlignmentException
getAlignedDistance1
public double getAlignedDistance1(java.lang.Object ob)
throws AlignmentException
- Throws:
AlignmentException
getAlignedDistance2
public double getAlignedDistance2(java.lang.Object ob)
throws AlignmentException
- Throws:
AlignmentException
extract
public Alignment extract(java.lang.String type,
Parameters param)
- Extract the alignment form the Similarity
FRom OLA
selectBestMatch
protected void selectBestMatch(int nbobj1,
java.util.Vector list1,
int nbobj2,
java.util.Vector list2,
double[][] matrix,
double threshold,
java.lang.Object way)
throws AlignmentException
- Throws:
AlignmentException
..no bottom yet...