Package net.sf.tweety.arg.saf.util
Class SimpleSafSampler
- java.lang.Object
-
- net.sf.tweety.commons.BeliefSetSampler<Argument,StructuredArgumentationFramework>
-
- net.sf.tweety.arg.saf.util.SimpleSafSampler
-
- All Implemented Interfaces:
java.util.Iterator<StructuredArgumentationFramework>
,BeliefSetIterator<Argument,StructuredArgumentationFramework>
public class SimpleSafSampler extends BeliefSetSampler<Argument,StructuredArgumentationFramework>
This class implements a belief base sampler for structured argumentation frameworks.- Author:
- Matthias Thimm
-
-
Field Summary
-
Fields inherited from class net.sf.tweety.commons.BeliefSetSampler
DEFAULT_MAXIMUM_BELIEFBASE_LENGTH, DEFAULT_MINIMUM_BELIEFBASE_LENGTH
-
-
Constructor Summary
Constructors Constructor Description SimpleSafSampler(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
Modifier and Type Method Description StructuredArgumentationFramework
next()
-
Methods inherited from class net.sf.tweety.commons.BeliefSetSampler
getMaxLength, getMinLength, getSamplerSignature, hasNext
-
-
-
-
Constructor Detail
-
SimpleSafSampler
public SimpleSafSampler(Signature signature)
Creates a new SimpleSafSampler for the given signature.- Parameters:
signature
- a signature.
-
SimpleSafSampler
public SimpleSafSampler(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:
next
in interfaceBeliefSetIterator<Argument,StructuredArgumentationFramework>
- Specified by:
next
in interfacejava.util.Iterator<StructuredArgumentationFramework>
- Specified by:
next
in classBeliefSetSampler<Argument,StructuredArgumentationFramework>
-
-