Class AbstractExtensionReasonerFactory
java.lang.Object
org.tweetyproject.web.services.dung.AbstractExtensionReasonerFactory
Abstract factory for retrieving Dung extension reasoners.
- Author:
- Jonas Klein, Lars Bengel
-
Method Summary
Modifier and TypeMethodDescriptionstatic DungTheorygetDungTheory(int nr_of_arguments, List<List<Integer>> attacks) Creates a DungTheory from the given number of arguments and attack relations.static AbstractExtensionReasonergetReasoner(Semantics sem) Creates a new reasoner measure of the given semantics with default settings.static Semantics[]Returns an array of all available semantics.
-
Method Details
-
getSemantics
Returns an array of all available semantics.- Returns:
- An array of all available semantics.
-
getReasoner
Creates a new reasoner measure of the given semantics with default settings.- Parameters:
sem- some identifier of an semantics.- Returns:
- the requested reasoner.
-
getDungTheory
Creates a DungTheory from the given number of arguments and attack relations.- Parameters:
nr_of_arguments- The number of arguments in the DungTheory.attacks- The attack relations represented as a list of lists of integers.- Returns:
- A DungTheory constructed from the given arguments and attacks.
-