Package org.tweetyproject.arg.saf.util
Class BasicArgumentSampler
java.lang.Object
org.tweetyproject.commons.FormulaSampler<BasicArgument>
org.tweetyproject.arg.saf.util.BasicArgumentSampler
This class implements a formula sampler for structured argumentation
 frameworks.
- Author:
 - Matthias Thimm
 
- 
Field Summary
Fields inherited from class org.tweetyproject.commons.FormulaSampler
DEFAULT_MAXIMAL_FORMULA_LENGTH - 
Constructor Summary
ConstructorsConstructorDescriptionBasicArgumentSampler(Signature signature)Creates a new basic argument sampler for the given signature. - 
Method Summary
Modifier and TypeMethodDescriptionrandomSample(int formula_length)This method randomly samples a single formula of the given signature with the given maximal formula length.Methods inherited from class org.tweetyproject.commons.FormulaSampler
getSignature, randomSample, randomSample 
- 
Constructor Details
- 
BasicArgumentSampler
Creates a new basic argument sampler for the given signature.- Parameters:
 signature- a signature
 
 - 
 - 
Method Details
- 
randomSample
Description copied from class:FormulaSamplerThis method randomly samples a single formula of the given signature with the given maximal formula length.- Specified by:
 randomSamplein classFormulaSampler<BasicArgument>- Parameters:
 formula_length- the maximal length of the formula to be sampled.- Returns:
 - a single formula.
 
 
 -