Class GeneralizedMeMachineShop

  • All Implemented Interfaces:
    BeliefBaseMachineShop

    public class GeneralizedMeMachineShop
    extends java.lang.Object
    implements BeliefBaseMachineShop
    Uses the generalized ME-model of a knowledge base to repair it, cf. [Potyka, Thimm, 2014].
    Author:
    Matthias Thimm
    • Constructor Summary

      Constructors 
      Constructor Description
      GeneralizedMeMachineShop​(int p)
      Creates a new machine shop with the given norm.
    • Method Summary

      Modifier and Type Method Description
      BeliefBase repair​(BeliefBase beliefBase)
      Repairs the given belief base, i.e.
      java.lang.String toString()  
      • Methods inherited from class java.lang.Object

        equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Constructor Detail

      • GeneralizedMeMachineShop

        public GeneralizedMeMachineShop​(int p)
        Creates a new machine shop with the given norm.
        Parameters:
        p - the p for the p-norm.
    • Method Detail

      • repair

        public BeliefBase repair​(BeliefBase beliefBase)
        Description copied from interface: BeliefBaseMachineShop
        Repairs the given belief base, i.e. restores consistency.
        Specified by:
        repair in interface BeliefBaseMachineShop
        Parameters:
        beliefBase - a possibly inconsistent belief base.
        Returns:
        a consistent belief base that is as close as possible to the given belief base. NOTE: if the given belief base is consistent this method is expected to return it unmodified.
      • toString

        public java.lang.String toString()
        Overrides:
        toString in class java.lang.Object