Package org.tweetyproject.arg.saf.util
Class SimpleSafSampler
java.lang.Object
org.tweetyproject.commons.BeliefSetSampler<Argument,StructuredArgumentationFramework>
org.tweetyproject.arg.saf.util.SimpleSafSampler
- All Implemented Interfaces:
Iterator<StructuredArgumentationFramework>,BeliefSetIterator<Argument,StructuredArgumentationFramework>
This class implements a belief base sampler for structured argumentation
frameworks.
- Author:
- Matthias Thimm
-
Field Summary
Fields inherited from class org.tweetyproject.commons.BeliefSetSampler
DEFAULT_MAXIMUM_BELIEFBASE_LENGTH, DEFAULT_MINIMUM_BELIEFBASE_LENGTH -
Constructor Summary
ConstructorsConstructorDescriptionSimpleSafSampler(Signature signature)Creates a new SimpleSafSampler for the given signature.SimpleSafSampler(Signature signature, int minLength, int maxLength)Creates a new SimpleSafSampler for the given signature. -
Method Summary
Methods inherited from class org.tweetyproject.commons.BeliefSetSampler
getMaxLength, getMinLength, getSamplerSignature, hasNextMethods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitMethods inherited from interface java.util.Iterator
forEachRemaining, remove
-
Constructor Details
-
SimpleSafSampler
Creates a new SimpleSafSampler for the given signature.- Parameters:
signature- a signature.
-
SimpleSafSampler
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 Details
-
next
- Specified by:
nextin interfaceBeliefSetIterator<Argument,StructuredArgumentationFramework>- Specified by:
nextin interfaceIterator<StructuredArgumentationFramework>- Specified by:
nextin classBeliefSetSampler<Argument,StructuredArgumentationFramework>
-