Class WeightedSemiringDungTheoryGenerator<T>
java.lang.Object
org.tweetyproject.arg.weighted.util.WeightedSemiringDungTheoryGenerator<T>
Implements a customizable weighted Dung theory generator
- Author:
- Sandra Hoffmann
-
Constructor Summary
ConstructorDescriptionWeightedSemiringDungTheoryGenerator
(DungTheoryGenerator generator, Semiring<T> semiring) Constructs a WeightedSemiringDungTheoryGenerator with the specified DungTheoryGenerator and Semiring. -
Method Summary
Modifier and TypeMethodDescriptionnext()
Generates the next WeightedArgumentationFramework using the associated DungTheoryGenerator and Semiring.
-
Constructor Details
-
WeightedSemiringDungTheoryGenerator
Constructs a WeightedSemiringDungTheoryGenerator with the specified DungTheoryGenerator and Semiring.- Parameters:
generator
- The DungTheoryGenerator to be used for generating Dung theories.semiring
- The Semiring associated with the generated weighted Dung theories.
-
-
Method Details
-
next
Generates the next WeightedArgumentationFramework using the associated DungTheoryGenerator and Semiring.- Returns:
- The next WeightedArgumentationFramework with randomly assigned weights on attacks.
-