Class AbstractCreepingMachineShop

    • Field Detail

      • PRECISION

        public static final double PRECISION
        The precision for finding the minimal consistent knowledge base.
        See Also:
        Constant Field Values
      • MAX_ITERATIONS

        public static final int MAX_ITERATIONS
        The maximum number of steps in the line search.
        See Also:
        Constant Field Values
    • Constructor Detail

      • AbstractCreepingMachineShop

        public AbstractCreepingMachineShop()
    • Method Detail

      • repair

        public net.sf.tweety.commons.BeliefBase repair​(net.sf.tweety.commons.BeliefBase beliefBase)
        Specified by:
        repair in interface net.sf.tweety.commons.BeliefBaseMachineShop
      • init

        protected void init​(PclBeliefSet beliefSet)
        Performs some optional initializations before beginning to restore consistency.
        Parameters:
        beliefSet - a PCL belief set.
      • characteristicFunction

        protected PclBeliefSet characteristicFunction​(PclBeliefSet beliefSet,
                                                      Map<ProbabilisticConditional,​net.sf.tweety.math.probability.Probability> values)
        Returns a modified belief base that replaces each conditionals probability by the one given by "values".
        Parameters:
        beliefSet - a belief set
        values - a map from conditionals to probabilities.
        Returns:
        a modified belief set.
      • getValues

        protected abstract Map<ProbabilisticConditional,​net.sf.tweety.math.probability.Probability> getValues​(double delta,
                                                                                                                    PclBeliefSet beliefSet)
        Computes the values of the conditionals for step delta
        Parameters:
        delta - the step parameter.
        beliefSet - the belief set.
        Returns:
        a map mapping conditionals to probabilities.
      • getLowerBound

        protected abstract double getLowerBound()
        Retrieves the lower bound for delta for this machine shop.
        Returns:
        the lower bound for delta for this machine shop.
      • getUpperBound

        protected abstract double getUpperBound()
        Retrieves the upper bound for delta for this machine shop.
        Returns:
        the upper bound for delta for this machine shop.