Class IafReasonerResponse

java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.iaf.IafReasonerResponse

public class IafReasonerResponse extends Response
The iAFReasonerResponse class extends the Response class and represents a response containing information related to a iAF argumentation reasoner result.
  • Constructor Details

    • IafReasonerResponse

      public IafReasonerResponse()
      Default constructor for iAFReasonerResponse.
    • IafReasonerResponse

      public IafReasonerResponse(String reply, String email, int nr_of_arguments, List<Integer> uncertainArguments, List<List<Integer>> definiteAttacks, List<List<Integer>> uncertainAttacks, String semantics, String solver, String answer, double time, String unit_time, String status)
      Parameterized constructor for iAFReasonerResponse.
      Parameters:
      reply - The reply message
      email - The email associated with the response
      nr_of_arguments - The number of arguments
      uncertainArguments - The uncertain arguments
      definiteAttacks - The definite attacks information
      uncertainAttacks - The uncertain attacks information
      semantics - The semantics specified
      solver - The solver specified
      answer - The answer provided
      time - The time taken for the operation
      unit_time - The unit time specified
      status - The status of the response
  • Method Details

    • getReply

      public String getReply()
      Gets the reply message in the iAF reasoner response.
      Returns:
      The reply message in the iAF reasoner response.
    • setReply

      public void setReply(String reply)
      Sets the reply message in the iAF reasoner response.
      Parameters:
      reply - The reply message in the iAF reasoner response.
    • getEmail

      public String getEmail()
      Gets the email associated with the iAF reasoner response.
      Returns:
      The email associated with the iAF reasoner response.
    • setEmail

      public void setEmail(String email)
      Sets the email associated with the iAF reasoner response.
      Parameters:
      email - The email associated with the iAF reasoner response.
    • getNr_of_arguments

      public int getNr_of_arguments()
      Gets the number of arguments in the iAF reasoner response.
      Returns:
      The number of arguments in the iAF reasoner response.
    • setNr_of_arguments

      public void setNr_of_arguments(int nr_of_arguments)
      Sets the number of arguments in the iAF reasoner response.
      Parameters:
      nr_of_arguments - The number of arguments in the iAF reasoner response.
    • getUncertainArguments

      public List<Integer> getUncertainArguments()
      Gets the uncertain arguments information in the iAF reasoner response.
      Returns:
      The uncertain arguments information
    • setUncertainArguments

      public void setUncertainArguments(List<Integer> uncertainArguments)
      Sets the uncertain arguments information in the iAF reasoner response.
      Parameters:
      uncertainArguments - The uncertain arguments information to be set
    • getDefiniteAttacks

      public List<List<Integer>> getDefiniteAttacks()
      Gets the definite attacks information in the iAF reasoner response.
      Returns:
      The definite attacks information
    • setUncertainAttacks

      public void setUncertainAttacks(List<List<Integer>> uncertainAttacks)
      Sets the uncertain attacks information in the iAF reasoner response.
      Parameters:
      uncertainAttacks - The uncertain attacks information to be set
    • getUncertainAttacks

      public List<List<Integer>> getUncertainAttacks()
      Gets the uncertain attacks information in the iAF reasoner response.
      Returns:
      The uncertain attacks information
    • setDefiniteAttacks

      public void setDefiniteAttacks(List<List<Integer>> definiteAttacks)
      Sets the definite attacks information in the iAF reasoner response.
      Parameters:
      definiteAttacks - The definite attacks information to be set
    • getSemantics

      public String getSemantics()
      Gets the semantics specified in the iAF reasoner response.
      Returns:
      The semantics specified in the iAF reasoner response.
    • setSemantics

      public void setSemantics(String semantics)
      Sets the semantics specified in the iAF reasoner response.
      Parameters:
      semantics - The semantics specified in the iAF reasoner response.
    • getSolver

      public String getSolver()
      Gets the solver specified in the iAF reasoner response.
      Returns:
      The solver specified in the iAF reasoner response.
    • setSolver

      public void setSolver(String solver)
      Sets the solver specified in the iAF reasoner response.
      Parameters:
      solver - The solver specified in the iAF reasoner response.
    • getAnswer

      public String getAnswer()
      Gets the answer provided by the iAF reasoner response.
      Returns:
      The answer provided by the iAF reasoner response.
    • setAnswer

      public void setAnswer(String answer)
      Sets the answer provided by the iAF reasoner response.
      Parameters:
      answer - The answer provided by the iAF reasoner response.
    • getTime

      public double getTime()
      Gets the time taken for the iAF reasoner operation (in seconds).
      Returns:
      The time taken for the iAF reasoner operation (in seconds).
    • setTime

      public void setTime(double time)
      Sets the time taken for the iAF reasoner operation (in seconds).
      Parameters:
      time - The time taken for the iAF reasoner operation (in seconds).
    • getUnit_time

      public String getUnit_time()
      Gets the unit time specified in the iAF reasoner response.
      Returns:
      The unit time specified in the iAF reasoner response.
    • setUnit_time

      public void setUnit_time(String unit_time)
      Sets the unit time specified in the iAF reasoner response.
      Parameters:
      unit_time - The unit time specified in the iAF reasoner response.
    • getStatus

      public String getStatus()
      Gets the status of the iAF reasoner response.
      Returns:
      The status of the iAF reasoner response.
    • setStatus

      public void setStatus(String status)
      Sets the status of the iAF reasoner response.
      Parameters:
      status - The status of the iAF reasoner response.
    • reply

      public IafReasonerResponse reply(String reply)
      Sets the reply message in the iAF reasoner response.
      Parameters:
      reply - The reply message in the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • email

      public IafReasonerResponse email(String email)
      Sets the email associated with the iAF reasoner response.
      Parameters:
      email - The email associated with the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • nr_of_arguments

      public IafReasonerResponse nr_of_arguments(int nr_of_arguments)
      Sets the number of arguments in the iAF reasoner response.
      Parameters:
      nr_of_arguments - The number of arguments in the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • uncertainArguments

      public IafReasonerResponse uncertainArguments(List<Integer> arguments)
      Sets the uncertain arguments information in the iAF reasoner response.
      Parameters:
      arguments - The uncertain arguments information in the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • definiteAttacks

      public IafReasonerResponse definiteAttacks(List<List<Integer>> attacks)
      Sets the definite attacks information in the iAF reasoner response.
      Parameters:
      attacks - The definite attacks information in the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • uncertainAttacks

      public IafReasonerResponse uncertainAttacks(List<List<Integer>> attacks)
      Sets the uncertain attacks information in the iAF reasoner response.
      Parameters:
      attacks - The uncertain attacks information in the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • semantics

      public IafReasonerResponse semantics(String semantics)
      Sets the semantics specified in the iAF reasoner response.
      Parameters:
      semantics - The semantics specified in the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • solver

      public IafReasonerResponse solver(String solver)
      Sets the solver specified in the iAF reasoner response.
      Parameters:
      solver - The solver specified in the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • answer

      public IafReasonerResponse answer(String answer)
      Sets the answer provided by the iAF reasoner response.
      Parameters:
      answer - The answer provided by the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • time

      public IafReasonerResponse time(int time)
      Sets the time taken for the iAF reasoner operation (in seconds).
      Parameters:
      time - The time taken for the iAF reasoner operation (in seconds).
      Returns:
      The current instance of iAFReasonerResponse.
    • status

      public IafReasonerResponse status(String status)
      Sets the status of the iAF reasoner response.
      Parameters:
      status - The status of the iAF reasoner response.
      Returns:
      The current instance of iAFReasonerResponse.
    • equals

      public boolean equals(Object o)
      Overrides:
      equals in class Object
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • toString

      public String toString()
      Overrides:
      toString in class Object