Package org.tweetyproject.arg.dung.util
Interface DungTheoryGenerator
- All Superinterfaces:
BeliefSetIterator<Argument,,DungTheory> Iterator<DungTheory>
- All Known Implementing Classes:
DefaultDungTheoryGenerator,EnumeratingDungTheoryGenerator,FileDungTheoryGenerator,IsoSafeEnumeratingDungTheoryGenerator,PodlaszewskiCaminadaDungTheoryGenerator
Class implementing this interface provide the capability
to generate Dung theories.
- Author:
- Matthias Thimm
-
Method Summary
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Method Details
-
hasNext
boolean hasNext()- Specified by:
hasNextin interfaceBeliefSetIterator<Argument,DungTheory> - Specified by:
hasNextin interfaceIterator<DungTheory>
-
next
DungTheory next()- Specified by:
nextin interfaceBeliefSetIterator<Argument,DungTheory> - Specified by:
nextin interfaceIterator<DungTheory>
-
next
Generates a new Dung theory where the given argument is enforced to be in the grounded extension- Parameters:
arg- an argument that is enforced to be in the grounded extension of the generated theory.- Returns:
- a Dung theory,
-
setSeed
void setSeed(long seed) Set the seed for the generation. Every two runs of generations with the same seed are ensured to be identical.- Parameters:
seed- some seed.
-