Class DefaultCompatibilityMeasure
java.lang.Object
org.tweetyproject.logics.mln.analysis.DefaultCompatibilityMeasure
- All Implemented Interfaces:
CompatibilityMeasure
This class represents the default compatibility measure that uses
a coherence measure.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionDefaultCompatibilityMeasure
(AbstractCoherenceMeasure coherenceMeasure) Creates a new compatibility measure. -
Method Summary
Modifier and TypeMethodDescriptiondouble
compatibility
(List<MarkovLogicNetwork> mlns, AbstractMlnReasoner reasoner, List<FolSignature> signatures) Measures the compatibility of the given MLNs wrt.boolean
int
hashCode()
toString()
-
Constructor Details
-
DefaultCompatibilityMeasure
Creates a new compatibility measure.- Parameters:
coherenceMeasure
- the coherence measure used for computing compatibility.
-
-
Method Details
-
compatibility
public double compatibility(List<MarkovLogicNetwork> mlns, AbstractMlnReasoner reasoner, List<FolSignature> signatures) Description copied from interface:CompatibilityMeasure
Measures the compatibility of the given MLNs wrt. the given signatures using the given reasoner.- Specified by:
compatibility
in interfaceCompatibilityMeasure
- Parameters:
mlns
- a list of MLNs.reasoner
- some reasoner.signatures
- a set of signatures, one for each MLN.- Returns:
- the compatibility value
-
toString
- Specified by:
toString
in interfaceCompatibilityMeasure
- Overrides:
toString
in classObject
-
hashCode
-
equals
-