|
Alignment API and Server 3.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectfr.inrialpes.exmo.align.impl.BasicAlignment
fr.inrialpes.exmo.align.impl.ObjectAlignment
fr.inrialpes.exmo.align.impl.DistanceAlignment
public class DistanceAlignment
Field Summary | |
---|---|
(package private) Similarity |
sim
|
Fields inherited from class fr.inrialpes.exmo.align.impl.ObjectAlignment |
---|
init |
Fields inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
---|
debug, extensions, hash1, hash2, level, namespaces, onto1, onto2, time, type |
Constructor Summary | |
---|---|
DistanceAlignment()
Creation |
Method Summary | |
---|---|
void |
addAlignDistanceCell(Object ob1,
Object ob2,
String relation,
double measure)
|
void |
align(Alignment alignment,
Parameters params)
Process matching - create distance data structures, - compute distance or similarity - extract alignment |
void |
cleanUp()
Suppresses the distance matrix |
Alignment |
extract(String type,
Parameters params)
Extract the alignment form the Similarity There are theoretically 16 types of extractors composing the characteristics [q]estion mark = ?, one or zero relation [s]tar = *, one, zero or many relations [1] = 1, exactly one relation [p]lus = +, one or many relations for each place of the relation. |
Alignment |
extractqq(double threshold,
Parameters params)
Extract the alignment of a ?? type exact algorithm using the Hungarian method |
Alignment |
extractqqgreedy(double threshold,
Parameters params)
Greedy algorithm: 1) dump the part of the matrix distance above threshold in a sorted set 2) traverse the sorted set and each time a correspondence involving two entities that have no correspondence is encountered, add it to the alignment. |
Alignment |
extractqs(double threshold,
Parameters params)
Extract the alignment of a ?* type Complexity: O(n^2) |
double |
getAlignedDistance1(Object ob)
|
double |
getAlignedDistance2(Object ob)
|
static Parameters |
getParameters()
|
Similarity |
getSimilarity()
|
void |
printDistanceMatrix(Parameters params)
Prints the distance matrix |
void |
setSimilarity(Similarity s)
|
Methods inherited from class fr.inrialpes.exmo.align.impl.ObjectAlignment |
---|
createCell, createNewAlignment, getOntology1URI, getOntology2URI, init, loadInit, loadOntology, ontology1, ontology2, toObjectAlignment, toURIAlignment |
Methods inherited from class fr.inrialpes.exmo.align.impl.BasicAlignment |
---|
accept, addAlignCell, addAlignCell, addAlignCell, addAlignCell, addCell, clone, compose, cut, cut, cut2, diff, dump, getAlignCell1, getAlignCell2, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getArrayElements, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology2, getOntologyObject1, getOntologyObject2, getType, getXNamespace, getXNamespaces, harden, ingest, init, inverse, iterator, join, meet, nbCells, removeAlignCell, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType, setXNamespace |
Methods inherited from class java.lang.Object |
---|
equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Methods inherited from interface org.semanticweb.owl.align.Alignment |
---|
accept, addAlignCell, addAlignCell, clone, compose, cut, cut, diff, dump, getAlignCell1, getAlignCell2, getAlignCells1, getAlignCells2, getAlignedObject1, getAlignedObject2, getAlignedRelation1, getAlignedRelation2, getAlignedStrength1, getAlignedStrength2, getElements, getExtension, getExtensions, getFile1, getFile2, getLevel, getOntology1, getOntology1URI, getOntology2, getOntology2URI, getType, harden, init, init, inverse, iterator, join, meet, nbCells, render, setExtension, setFile1, setFile2, setLevel, setOntology1, setOntology2, setType |
Field Detail |
---|
Similarity sim
Constructor Detail |
---|
public DistanceAlignment()
Method Detail |
---|
public void setSimilarity(Similarity s)
public Similarity getSimilarity()
public void addAlignDistanceCell(Object ob1, Object ob2, String relation, double measure) throws AlignmentException
AlignmentException
public double getAlignedDistance1(Object ob) throws AlignmentException
AlignmentException
public double getAlignedDistance2(Object ob) throws AlignmentException
AlignmentException
public void align(Alignment alignment, Parameters params) throws AlignmentException
align
in interface AlignmentProcess
AlignmentException
public static Parameters getParameters()
public void printDistanceMatrix(Parameters params)
public void cleanUp()
cleanUp
in class BasicAlignment
public Alignment extract(String type, Parameters params) throws AlignmentException
AlignmentException
public Alignment extractqs(double threshold, Parameters params)
public Alignment extractqq(double threshold, Parameters params)
public Alignment extractqqgreedy(double threshold, Parameters params)
|
Alignment API and Server 3.6 | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |