Class AggregatingCoherenceMeasure

  • All Implemented Interfaces:
    java.io.Serializable

    public class AggregatingCoherenceMeasure
    extends AbstractCoherenceMeasure
    This coherence measure uses an aggregation function and a distance function to measure the coherence of an MLN. For each formula in the MLN the distance function looks at the probabilities of all ground instance and compares this vector to the intended probabilities. The aggregation function is used to aggregate the distances for all formulas.
    Author:
    Matthias Thimm
    See Also:
    Serialized Form
    • Field Detail

      • norm

        private RealVectorNorm norm
        The norm used to measure the difference of the probabilities of each ground instance for a single formula.
      • aggregator

        private AggregationFunction aggregator
        The aggregation function used to aggregate the distances for each formula.
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object