Class RankingReasonerCalleeFactory

java.lang.Object
org.tweetyproject.web.services.rankings.RankingReasonerCalleeFactory

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

    • getCommands

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

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