Interface SMOntologyIsEquivalent
- All Superinterfaces:
SimilarityMeasure
,SMOntology
- All Known Implementing Classes:
SMOntologyIsEquivalentImpl
Calculates the similarity between query and case based on the existence of specific relations
between query and case entity in an ontology. Different Relations can be defined and the check of
existence can also be done transitive. If there is a connection between the query and case
entities with a defined relation the similarity is 1.0, otherwise 0 .
- Author:
- Tobias Dahlem
-
Field Summary
Fields inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
LOG_ORDER_NAME_NOT_FOUND
-
Method Summary
Modifier and TypeMethodDescriptionvoid
Add a relation to set of equivalence relations.void
Add several relations to set of equivalence relations.void
Replace the set of equivalence relations.Methods inherited from interface de.uni_trier.wi2.procake.similarity.SimilarityMeasure
compute, getDataClass, getName, getSystemName, isForceOverride, isReusable, setForceOverride
Methods inherited from interface de.uni_trier.wi2.procake.similarity.base.ontology.SMOntology
checkArgumentApplicability, checkInstanceOntologyOrderPredicate
-
Field Details
-
NAME
- See Also:
-
-
Method Details
-
getEquivalenceRelations
- Returns:
- all relations for the existence check.
-
setEquivalenceRelations
Replace the set of equivalence relations.- Parameters:
r
- the new set of the relations.
-
addEquivalenceRelation
Add a relation to set of equivalence relations.- Parameters:
r
- the name of the relation.b
- whether the relation should be considered transitive.
-
addEquivalenceRelations
Add several relations to set of equivalence relations.- Parameters:
r
- the set of the relations.
-