public class DefaultCompatibilityMeasure extends java.lang.Object implements CompatibilityMeasure
| Modifier and Type | Field and Description |
|---|---|
private AbstractCoherenceMeasure |
coherenceMeasure
The coherence measure used for computing compatibility.
|
| Constructor and Description |
|---|
DefaultCompatibilityMeasure(AbstractCoherenceMeasure coherenceMeasure)
Creates a new compatibility measure.
|
| Modifier and Type | Method and Description |
|---|---|
double |
compatibility(java.util.List<MarkovLogicNetwork> mlns,
AbstractMlnReasoner reasoner,
java.util.List<FolSignature> signatures)
Measures the compatibility of the given MLNs wrt.
|
boolean |
equals(java.lang.Object obj) |
int |
hashCode() |
java.lang.String |
toString() |
private AbstractCoherenceMeasure coherenceMeasure
public DefaultCompatibilityMeasure(AbstractCoherenceMeasure coherenceMeasure)
coherenceMeasure - the coherence measure used for computing compatibility.public double compatibility(java.util.List<MarkovLogicNetwork> mlns, AbstractMlnReasoner reasoner, java.util.List<FolSignature> signatures)
CompatibilityMeasurecompatibility in interface CompatibilityMeasuremlns - a list of MLNs.reasoner - some reasoner.signatures - a set of signatures, one for each MLN.public java.lang.String toString()
toString in interface CompatibilityMeasuretoString in class java.lang.Objectpublic int hashCode()
hashCode in class java.lang.Objectpublic boolean equals(java.lang.Object obj)
equals in class java.lang.Object