Package org.tweetyproject.arg.dung.util
Class PodlaszewskiCaminadaDungTheoryGenerator
java.lang.Object
org.tweetyproject.arg.dung.util.PodlaszewskiCaminadaDungTheoryGenerator
- All Implemented Interfaces:
Iterator<DungTheory>
,DungTheoryGenerator
,BeliefSetIterator<Argument,
DungTheory>
This generator generates abstract argumentation frameworks following the schema
described in "Strong Admissibility Revisited" (COMMA2014) by Martin Caminda, following
and idea by Mikolay Podlaszewski. These frameworks are supposedly hard for computing grounded
semantics.
- Author:
- Matthias Thimm
-
Constructor Summary
ConstructorDescriptionPodlaszewskiCaminadaDungTheoryGenerator
(int numComponents) Creates a new generator that generates frameworks of the given numComponents >= 0. -
Method Summary
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
PodlaszewskiCaminadaDungTheoryGenerator
public PodlaszewskiCaminadaDungTheoryGenerator(int numComponents) Creates a new generator that generates frameworks of the given numComponents >= 0. More precisely, the number of arguments in these frameworks have 4 + numComponents*4 arguments.- Parameters:
numComponents
- the number of components
-
-
Method Details
-
next
- Specified by:
next
in interfaceBeliefSetIterator<Argument,
DungTheory> - Specified by:
next
in interfaceDungTheoryGenerator
- Specified by:
next
in interfaceIterator<DungTheory>
-
next
Description copied from interface:DungTheoryGenerator
Generates a new Dung theory where the given argument is enforced to be in the grounded extension- Specified by:
next
in interfaceDungTheoryGenerator
- Parameters:
arg
- an argument that is enforced to be in the grounded extension of the generated theory.- Returns:
- a Dung theory,
-
setSeed
public void setSeed(long seed) Description copied from interface:DungTheoryGenerator
Set the seed for the generation. Every two runs of generations with the same seed are ensured to be identical.- Specified by:
setSeed
in interfaceDungTheoryGenerator
- Parameters:
seed
- some seed.
-
hasNext
public boolean hasNext()- Specified by:
hasNext
in interfaceBeliefSetIterator<Argument,
DungTheory> - Specified by:
hasNext
in interfaceDungTheoryGenerator
- Specified by:
hasNext
in interfaceIterator<DungTheory>
-