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
ConstructorDescriptionSimpleSafSampler
(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, hasNext
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
-
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:
next
in interfaceBeliefSetIterator<Argument,
StructuredArgumentationFramework> - Specified by:
next
in interfaceIterator<StructuredArgumentationFramework>
- Specified by:
next
in classBeliefSetSampler<Argument,
StructuredArgumentationFramework>
-