Class RiveretTheoryLearner


  • public class RiveretTheoryLearner
    extends Object
    Implementation of the algorithm for learning (grounded) labelings from: Riveret, Régis, and Guido Governatori. "On learning attacks in probabilistic abstract argumentation." 2016.
    Author:
    Lars Bengel
    • Constructor Detail

      • RiveretTheoryLearner

        public RiveretTheoryLearner​(Collection<Argument> arguments)
        initialize learner for the given set of arguments
        Parameters:
        arguments - a set of arguments
    • Method Detail

      • learnLabelings

        public DungTheory learnLabelings​(ArrayList<Labeling> labelings,
                                         boolean prune)
        learn random labelings from the given List until no undecided attacks are left in the theory
        Parameters:
        labelings - a list of labelings
        prune - if true, remove discarded attacks after each step
        Returns:
        the learned dung theory
      • learnLabelings

        public DungTheory learnLabelings​(ArrayList<Labeling> labelings)
        learn theory without pruning discarded attacks
        Parameters:
        labelings - a list of labelings
        Returns:
        the learned dung theory