Package net.sf.tweety.arg.saf.util
Class SimpleSafSampler
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSetSampler<net.sf.tweety.arg.dung.syntax.Argument,StructuredArgumentationFramework>
-
- net.sf.tweety.arg.saf.util.SimpleSafSampler
-
- All Implemented Interfaces:
Iterator<StructuredArgumentationFramework>,net.sf.tweety.commons.BeliefSetIterator<net.sf.tweety.arg.dung.syntax.Argument,StructuredArgumentationFramework>
public class SimpleSafSampler extends net.sf.tweety.commons.BeliefSetSampler<net.sf.tweety.arg.dung.syntax.Argument,StructuredArgumentationFramework>
This class implements a belief base sampler for structured argumentation frameworks.- Author:
- Matthias Thimm
-
-
Constructor Summary
Constructors Constructor Description SimpleSafSampler(net.sf.tweety.commons.Signature signature)Creates a new SimpleSafSampler for the given signature.SimpleSafSampler(net.sf.tweety.commons.Signature signature, int minLength, int maxLength)Creates a new SimpleSafSampler for the given signature.
-
Method Summary
Modifier and Type Method Description StructuredArgumentationFrameworknext()-
Methods inherited from class net.sf.tweety.commons.BeliefSetSampler
getMaxLength, getMinLength, getSamplerSignature, hasNext
-
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Methods inherited from interface java.util.Iterator
forEachRemaining, remove
-
-
-
-
Constructor Detail
-
SimpleSafSampler
public SimpleSafSampler(net.sf.tweety.commons.Signature signature)
Creates a new SimpleSafSampler for the given signature.- Parameters:
signature- a signature.
-
SimpleSafSampler
public SimpleSafSampler(net.sf.tweety.commons.Signature signature, int minLength, int maxLength)Creates a new SimpleSafSampler for the given signature.- Parameters:
signature- a signature.minLength- the minimum length of knowledge basesmaxLength- the maximum length of knowledge bases
-
-
Method Detail
-
next
public StructuredArgumentationFramework next()
- Specified by:
nextin interfacenet.sf.tweety.commons.BeliefSetIterator<net.sf.tweety.arg.dung.syntax.Argument,StructuredArgumentationFramework>- Specified by:
nextin interfaceIterator<StructuredArgumentationFramework>- Specified by:
nextin classnet.sf.tweety.commons.BeliefSetSampler<net.sf.tweety.arg.dung.syntax.Argument,StructuredArgumentationFramework>
-
-