Class RiveretTheoryLearner


  • public class RiveretTheoryLearner
    extends java.lang.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 Summary

      Constructors 
      Constructor Description
      RiveretTheoryLearner​(java.util.Collection<Argument> arguments, int max_cycles)
      initialize learner for the given set of arguments
    • Method Summary

      Modifier and Type Method Description
      DungTheory learnLabelings​(java.util.ArrayList<Labeling> labelings)
      learn theory without pruning discarded attacks
      DungTheory learnLabelings​(java.util.ArrayList<Labeling> labelings, boolean prune, int threshold)
      learn random labelings from the given List until no undecided attacks are left in the theory
      • Methods inherited from class java.lang.Object

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

      • RiveretTheoryLearner

        public RiveretTheoryLearner​(java.util.Collection<Argument> arguments,
                                    int max_cycles)
        initialize learner for the given set of arguments
        Parameters:
        arguments - a set of arguments
        max_cycles - the maximal number of cycles
    • Method Detail

      • learnLabelings

        public DungTheory learnLabelings​(java.util.ArrayList<Labeling> labelings,
                                         boolean prune,
                                         int threshold)
        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
        threshold - some threshold
        Returns:
        the learned dung theory
      • learnLabelings

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