public class ASShortestPathMeasure extends AbstractAlignmentSpaceMeasure<fr.inrialpes.exmo.ontowrap.LoadedOntology<?>>
Modifier and Type | Class and Description |
---|---|
static class |
ASShortestPathMeasure.NORM |
Measure.TYPES
Modifier and Type | Field and Description |
---|---|
protected int |
diameter |
protected java.util.Hashtable<java.net.URI,java.lang.Integer> |
index |
private boolean |
inited |
protected int[][] |
matrix |
protected ASShortestPathMeasure.NORM |
modality |
protected int |
norm |
protected int |
size |
network
Constructor and Description |
---|
ASShortestPathMeasure() |
ASShortestPathMeasure(org.semanticweb.owl.align.OntologyNetwork noo) |
Modifier and Type | Method and Description |
---|---|
double |
getDissim(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o1,
fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o2) |
double |
getMeasureValue(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o1,
fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o2) |
Measure.TYPES |
getMType() |
ASShortestPathMeasure.NORM |
getNormModality() |
double |
getSim(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o1,
fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o2) |
int |
getValue(fr.inrialpes.exmo.ontowrap.Ontology<?> o1,
fr.inrialpes.exmo.ontowrap.Ontology<?> o2) |
private void |
init()
This function does compute the values for all
|
void |
setAlignmentSpace(org.semanticweb.owl.align.OntologyNetwork noo) |
void |
setNormModality(ASShortestPathMeasure.NORM mod) |
addAlignment, getAlignments
private boolean inited
protected ASShortestPathMeasure.NORM modality
protected int size
protected int norm
protected int diameter
protected java.util.Hashtable<java.net.URI,java.lang.Integer> index
protected int[][] matrix
public ASShortestPathMeasure(org.semanticweb.owl.align.OntologyNetwork noo)
public ASShortestPathMeasure()
public Measure.TYPES getMType()
public ASShortestPathMeasure.NORM getNormModality()
public void setNormModality(ASShortestPathMeasure.NORM mod)
public int getValue(fr.inrialpes.exmo.ontowrap.Ontology<?> o1, fr.inrialpes.exmo.ontowrap.Ontology<?> o2)
public void setAlignmentSpace(org.semanticweb.owl.align.OntologyNetwork noo)
setAlignmentSpace
in interface AlignmentSpaceMeasure<fr.inrialpes.exmo.ontowrap.LoadedOntology<?>>
setAlignmentSpace
in class AbstractAlignmentSpaceMeasure<fr.inrialpes.exmo.ontowrap.LoadedOntology<?>>
public double getMeasureValue(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o1, fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o2)
public double getSim(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o1, fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o2)
public double getDissim(fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o1, fr.inrialpes.exmo.ontowrap.LoadedOntology<?> o2)
private void init() throws OntoSimException
OntoSimException
(C) INRIA, Univ. Grenoble Alpes & friends, 2008-2017