Class AbstractCoherenceMeasure
- java.lang.Object
-
- net.sf.tweety.logics.mln.analysis.AbstractCoherenceMeasure
-
- All Implemented Interfaces:
java.io.Serializable
- Direct Known Subclasses:
AggregatingCoherenceMeasure
public abstract class AbstractCoherenceMeasure extends java.lang.Object implements java.io.SerializableThis class represents an abstract coherence measure, i.e. a function that measures the coherence of an MLN by comparing the probabilities for the MLN's formulas with the intended ones.- Author:
- Matthias Thimm
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description private static longserialVersionUID
-
Constructor Summary
Constructors Constructor Description AbstractCoherenceMeasure()
-
Method Summary
Modifier and Type Method Description abstract doublecoherence(MarkovLogicNetwork mln, AbstractMlnReasoner reasoner, FolSignature signature)Measures the coherence of the given MLN using the given reasoner.abstract java.lang.StringtoString()
-
-
-
Field Detail
-
serialVersionUID
private static final long serialVersionUID
- See Also:
- Constant Field Values
-
-
Method Detail
-
coherence
public abstract double coherence(MarkovLogicNetwork mln, AbstractMlnReasoner reasoner, FolSignature signature)
Measures the coherence of the given MLN using the given reasoner.- Parameters:
mln- some MLNreasoner- some reasonersignature- a signature- Returns:
- the coherence measure of the MLN.
-
toString
public abstract java.lang.String toString()
- Overrides:
toStringin classjava.lang.Object
-
-