Class BipolarReasonerGetModelCallee

java.lang.Object
org.tweetyproject.web.services.Callee
org.tweetyproject.web.services.bipolar.BipolarReasonerGetModelCallee
All Implemented Interfaces:
Callable

public class BipolarReasonerGetModelCallee extends Callee
The BipolarReasonerGetModelCallee class represents a callee for obtaining a model using a specified AbstractBipolarExtensionReasoner and AbstractBipolarFramework. This class extends the Callee class and implements the call() method to execute the getModel operation using the provided reasoner and base AbstractBipolarFramework.
  • Constructor Details

    • BipolarReasonerGetModelCallee

      public BipolarReasonerGetModelCallee(AbstractBipolarExtensionReasoner reasoner, BipolarArgumentationFramework bbase)
      Constructs a new BipolarReasonerGetModelCallee with the specified reasoner and base AbstractBipolarFramework.
      Parameters:
      reasoner - The AbstractBipolarExtensionReasoner to be used for obtaining the model
      bbase - The base AbstractBipolarFramework on which the getModel operation is performed
  • Method Details

    • call

      public Collection<Argument> call() throws Exception
      Executes the getModel operation using the specified reasoner and base AbstractBipolarFramework.
      Specified by:
      call in interface Callable
      Overrides:
      call in class Callee
      Returns:
      An Extension representing the obtained model
      Throws:
      Exception - If an error occurs during the getModel operation