Class IafReasonerCalleeFactory

java.lang.Object
org.tweetyproject.web.services.iaf.IafReasonerCalleeFactory

public class IafReasonerCalleeFactory extends Object
The DungReasonerCalleeFactory class is responsible for creating instances of Callee based on the specified Command, IncompleteReasoner, and IncompleteTheory parameters. It also defines an enumeration of commands with associated IDs and labels.
  • Method Details

    • getCommands

      public static IafReasonerCalleeFactory.Command[] getCommands()
      Retrieves an array of all available Command enums.
      Returns:
      An array of Command enums
    • getCallee

      public static Callee getCallee(IafReasonerCalleeFactory.Command cmd, IncompleteReasoner reasoner, IncompleteTheory bbase)
      Creates and returns a Callee instance based on the provided Command, IncompleteReasoner, and IncompleteTheory parameters.
      Parameters:
      cmd - The command to be executed
      reasoner - The IncompleteReasoner to be used
      bbase - The IncompleteTheory to be processed
      Returns:
      A Callee instance corresponding to the specified command
      Throws:
      RuntimeException - If the specified command is not found