Class IafReasonerResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.iaf.IafReasonerResponse
The iAFReasonerResponse class extends the Response class and represents
a response containing information related to a iAF argumentation reasoner
result.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for iAFReasonerResponse.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. -
Method Summary
Modifier and TypeMethodDescriptionSets the answer provided by the iAF reasoner response.definiteAttacks(List<List<Integer>> attacks) Sets the definite attacks information in the iAF reasoner response.Sets the email associated with the iAF reasoner response.booleanGets the answer provided by the iAF reasoner response.Gets the definite attacks information in the iAF reasoner response.getEmail()Gets the email associated with the iAF reasoner response.intGets the number of arguments in the iAF reasoner response.getReply()Gets the reply message in the iAF reasoner response.Gets the semantics specified in the iAF reasoner response.Gets the solver specified in the iAF reasoner response.Gets the status of the iAF reasoner response.doublegetTime()Gets the time taken for the iAF reasoner operation (in seconds).Gets the uncertain arguments information in the iAF reasoner response.Gets the uncertain attacks information in the iAF reasoner response.Gets the unit time specified in the iAF reasoner response.inthashCode()nr_of_arguments(int nr_of_arguments) Sets the number of arguments in the iAF reasoner response.Sets the reply message in the iAF reasoner response.Sets the semantics specified in the iAF reasoner response.voidSets the answer provided by the iAF reasoner response.voidsetDefiniteAttacks(List<List<Integer>> definiteAttacks) Sets the definite attacks information in the iAF reasoner response.voidSets the email associated with the iAF reasoner response.voidsetNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the iAF reasoner response.voidSets the reply message in the iAF reasoner response.voidsetSemantics(String semantics) Sets the semantics specified in the iAF reasoner response.voidSets the solver specified in the iAF reasoner response.voidSets the status of the iAF reasoner response.voidsetTime(double time) Sets the time taken for the iAF reasoner operation (in seconds).voidsetUncertainArguments(List<Integer> uncertainArguments) Sets the uncertain arguments information in the iAF reasoner response.voidsetUncertainAttacks(List<List<Integer>> uncertainAttacks) Sets the uncertain attacks information in the iAF reasoner response.voidsetUnit_time(String unit_time) Sets the unit time specified in the iAF reasoner response.Sets the solver specified in the iAF reasoner response.Sets the status of the iAF reasoner response.time(int time) Sets the time taken for the iAF reasoner operation (in seconds).toString()uncertainArguments(List<Integer> arguments) Sets the uncertain arguments information in the iAF reasoner response.uncertainAttacks(List<List<Integer>> attacks) Sets the uncertain attacks information in the iAF reasoner response.
-
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 messageemail- The email associated with the responsenr_of_arguments- The number of argumentsuncertainArguments- The uncertain argumentsdefiniteAttacks- The definite attacks informationuncertainAttacks- The uncertain attacks informationsemantics- The semantics specifiedsolver- The solver specifiedanswer- The answer providedtime- The time taken for the operationunit_time- The unit time specifiedstatus- The status of the response
-
-
Method Details
-
getReply
Gets the reply message in the iAF reasoner response.- Returns:
- The reply message in the iAF reasoner response.
-
setReply
Sets the reply message in the iAF reasoner response.- Parameters:
reply- The reply message in the iAF reasoner response.
-
getEmail
Gets the email associated with the iAF reasoner response.- Returns:
- The email associated with the iAF reasoner response.
-
setEmail
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
Gets the uncertain arguments information in the iAF reasoner response.- Returns:
- The uncertain arguments information
-
setUncertainArguments
Sets the uncertain arguments information in the iAF reasoner response.- Parameters:
uncertainArguments- The uncertain arguments information to be set
-
getDefiniteAttacks
Gets the definite attacks information in the iAF reasoner response.- Returns:
- The definite attacks information
-
setUncertainAttacks
Sets the uncertain attacks information in the iAF reasoner response.- Parameters:
uncertainAttacks- The uncertain attacks information to be set
-
getUncertainAttacks
Gets the uncertain attacks information in the iAF reasoner response.- Returns:
- The uncertain attacks information
-
setDefiniteAttacks
Sets the definite attacks information in the iAF reasoner response.- Parameters:
definiteAttacks- The definite attacks information to be set
-
getSemantics
Gets the semantics specified in the iAF reasoner response.- Returns:
- The semantics specified in the iAF reasoner response.
-
setSemantics
Sets the semantics specified in the iAF reasoner response.- Parameters:
semantics- The semantics specified in the iAF reasoner response.
-
getSolver
Gets the solver specified in the iAF reasoner response.- Returns:
- The solver specified in the iAF reasoner response.
-
setSolver
Sets the solver specified in the iAF reasoner response.- Parameters:
solver- The solver specified in the iAF reasoner response.
-
getAnswer
Gets the answer provided by the iAF reasoner response.- Returns:
- The answer provided by the iAF reasoner response.
-
setAnswer
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
Gets the unit time specified in the iAF reasoner response.- Returns:
- The unit time specified in the iAF reasoner response.
-
setUnit_time
Sets the unit time specified in the iAF reasoner response.- Parameters:
unit_time- The unit time specified in the iAF reasoner response.
-
getStatus
Gets the status of the iAF reasoner response.- Returns:
- The status of the iAF reasoner response.
-
setStatus
Sets the status of the iAF reasoner response.- Parameters:
status- The status of the iAF reasoner response.
-
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
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
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
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
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
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
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
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
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
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
Sets the status of the iAF reasoner response.- Parameters:
status- The status of the iAF reasoner response.- Returns:
- The current instance of iAFReasonerResponse.
-
equals
-
hashCode
public int hashCode() -
toString
-