Class ContensionInconsistencyMeasurementProcess

  • All Implemented Interfaces:
    Runnable

    public class ContensionInconsistencyMeasurementProcess
    extends net.sf.tweety.logics.commons.analysis.streams.InconsistencyMeasurementProcess<PlFormula>
    Implements an approximation algorithm for the Contension inconsistency measure on streams.
    Author:
    Matthias Thimm
    • Field Detail

      • CONFIG_KEY_SIGNATURE

        public static final String CONFIG_KEY_SIGNATURE
        Configuration key for the signature.
        See Also:
        Constant Field Values
      • CONFIG_KEY_WITNESSPROVIDER

        public static final String CONFIG_KEY_WITNESSPROVIDER
        Configuration key for the consistency tester.
        See Also:
        Constant Field Values
      • CONFIG_KEY_NUMBEROFPOPULATIONS

        public static final String CONFIG_KEY_NUMBEROFPOPULATIONS
        Configuration key for the number of populations tried out.
        See Also:
        Constant Field Values
      • CONFIG_SMOOTHINGFACTOR

        public static final String CONFIG_SMOOTHINGFACTOR
        Key for the configuration map that points to the smoothing factor to be used. if X1 is the previous inconsistency value, X2 is the new inconsistency value on the new window, then the actual new inconsistency value X is determined by X=X1*smoothingFactor + X2*(1-smoothingFactor). This value should be between 0 and 1. If it is -1 no smoothing is done (the same as setting the smoothing factor to 0.
        See Also:
        Constant Field Values
    • Constructor Detail

      • ContensionInconsistencyMeasurementProcess

        public ContensionInconsistencyMeasurementProcess()
    • Method Detail

      • init

        protected void init​(Map<String,​Object> config)
        Specified by:
        init in class net.sf.tweety.logics.commons.analysis.streams.InconsistencyMeasurementProcess<PlFormula>
      • update

        protected double update​(PlFormula formula)
        Specified by:
        update in class net.sf.tweety.logics.commons.analysis.streams.InconsistencyMeasurementProcess<PlFormula>
      • toString

        public String toString()
        Specified by:
        toString in class net.sf.tweety.logics.commons.analysis.streams.InconsistencyMeasurementProcess<PlFormula>