|
Alignment API and Server 4.1.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Similarity
Represents the implementation of a similarity measure
Method Summary | |
---|---|
double |
classMeasure(Object c1,
Object c2)
|
void |
compute(Properties p)
actually computes the similarity and store it in the adequate structures |
double |
getClassSimilarity(Object c1,
Object c2)
Accessors to the stored similarity values |
double |
getIndividualSimilarity(Object i1,
Object i2)
|
double |
getPropertySimilarity(Object p1,
Object p2)
|
boolean |
getSimilarity()
Is it a similarity or a distance? |
double |
individualMeasure(Object i1,
Object i2)
|
void |
initialize(LoadedOntology<Object> onto1,
LoadedOntology<Object> onto2)
Initialize the similarity value with various useful structures |
void |
initialize(LoadedOntology<Object> onto1,
LoadedOntology<Object> onto2,
Alignment align)
|
void |
printClassSimilarityMatrix(String type)
Printers of the obtained similarity values |
void |
printIndividualSimilarityMatrix(String type)
|
void |
printPropertySimilarityMatrix(String type)
|
double |
propertyMeasure(Object p1,
Object p2)
|
Method Detail |
---|
boolean getSimilarity()
void initialize(LoadedOntology<Object> onto1, LoadedOntology<Object> onto2)
void initialize(LoadedOntology<Object> onto1, LoadedOntology<Object> onto2, Alignment align)
void compute(Properties p)
double getClassSimilarity(Object c1, Object c2)
double getPropertySimilarity(Object p1, Object p2)
double getIndividualSimilarity(Object i1, Object i2)
void printClassSimilarityMatrix(String type)
void printPropertySimilarityMatrix(String type)
void printIndividualSimilarityMatrix(String type)
double classMeasure(Object c1, Object c2) throws Exception
Exception
double propertyMeasure(Object p1, Object p2) throws Exception
Exception
double individualMeasure(Object i1, Object i2) throws Exception
Exception
|
Alignment API and Server 4.1.${version.update} | |||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |