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,
Reasoner 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, Reasoner reasoner, java.util.List<FolSignature> signatures)
CompatibilityMeasure
compatibility
in interface CompatibilityMeasure
mlns
- a list of MLNs.reasoner
- some reasoner.signatures
- a set of signatures, one for each MLN.public java.lang.String toString()
toString
in interface CompatibilityMeasure
toString
in class java.lang.Object
public int hashCode()
hashCode
in class java.lang.Object
public boolean equals(java.lang.Object obj)
equals
in class java.lang.Object