Class PafReasonerCalleeFactory
java.lang.Object
org.tweetyproject.web.services.paf.PafReasonerCalleeFactory
Factory for creating
Callee instances for the PAF web service.-
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic enumCommands supported by the PAF web service. -
Method Summary
Modifier and TypeMethodDescriptionstatic CalleegetCallee(PafReasonerCalleeFactory.Command cmd, AbstractPafReasoner reasoner, ProbabilisticArgumentationFramework paf) Creates the appropriateCalleefor the given command.static PafReasonerCalleeFactory.Command[]Returns all available commands.
-
Method Details
-
getCommands
Returns all available commands.- Returns:
- array of commands
-
getCallee
public static Callee getCallee(PafReasonerCalleeFactory.Command cmd, AbstractPafReasoner reasoner, ProbabilisticArgumentationFramework paf) Creates the appropriateCalleefor the given command.- Parameters:
cmd- the command to executereasoner- the PAF reasoner to usepaf- the probabilistic argumentation framework- Returns:
- the callee
-