public class PodlaszewskiCaminadaDungTheoryGenerator extends java.lang.Object implements DungTheoryGenerator
Modifier and Type | Field and Description |
---|---|
private int |
numComponents
The number of components in the generated frameworks.
|
Constructor and Description |
---|
PodlaszewskiCaminadaDungTheoryGenerator(int numComponents)
Creates a new generator that generates frameworks of the
given numComponents >= 0.
|
Modifier and Type | Method and Description |
---|---|
boolean |
hasNext() |
DungTheory |
next() |
DungTheory |
next(Argument arg)
Generates a new Dung theory where the given argument
is enforced to be in the grounded extension
|
void |
setSeed(long seed)
Set the seed for the generation.
|
private int numComponents
public PodlaszewskiCaminadaDungTheoryGenerator(int numComponents)
numComponents
- the number of componentspublic DungTheory next()
next
in interface java.util.Iterator<DungTheory>
next
in interface DungTheoryGenerator
next
in interface BeliefSetIterator<Argument,DungTheory>
public DungTheory next(Argument arg)
DungTheoryGenerator
next
in interface DungTheoryGenerator
arg
- an argument that is enforced
to be in the grounded extension of the generated theory.public void setSeed(long seed)
DungTheoryGenerator
setSeed
in interface DungTheoryGenerator
seed
- some seed.public boolean hasNext()
hasNext
in interface java.util.Iterator<DungTheory>
hasNext
in interface DungTheoryGenerator
hasNext
in interface BeliefSetIterator<Argument,DungTheory>