Class RiveretTheoryLearner
java.lang.Object
org.tweetyproject.arg.dung.learning.RiveretTheoryLearner
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
ConstructorsConstructorDescriptionRiveretTheoryLearner(Collection<Argument> arguments, int max_cycles) initialize learner for the given set of arguments -
Method Summary
Modifier and TypeMethodDescriptionlearnLabelings(ArrayList<Labeling> labelings) learn theory without pruning discarded attackslearnLabelings(ArrayList<Labeling> labelings, boolean prune, int threshold) learn random labelings from the given List until no undecided attacks are left in the theory
-
Constructor Details
-
RiveretTheoryLearner
initialize learner for the given set of arguments- Parameters:
arguments- a set of argumentsmax_cycles- the maximal number of cycles
-
-
Method Details
-
learnLabelings
learn random labelings from the given List until no undecided attacks are left in the theory- Parameters:
labelings- a list of labelingsprune- if true, remove discarded attacks after each stepthreshold- some threshold- Returns:
- the learned dung theory
-
learnLabelings
learn theory without pruning discarded attacks- Parameters:
labelings- a list of labelings- Returns:
- the learned dung theory
-