Class BipolarReasonerResponse
java.lang.Object
org.tweetyproject.web.services.Response
org.tweetyproject.web.services.bipolar.BipolarReasonerResponse
The BipolarReasonerResponse class extends the Response class and represents
a response containing information related to a bipolar argumentation reasoner
result.
-
Constructor Summary
ConstructorsConstructorDescriptionDefault constructor for BipolarReasonerResponse.BipolarReasonerResponse(String reply, String email, int nr_of_arguments, List<List<Integer>> attacks, List<List<Integer>> supports, String semantics, String solver, String answer, double time, String unit_time, String status) Creates a bipolar reasoner response. -
Method Summary
Modifier and TypeMethodDescriptionSets the answer provided by the bipolar reasoner response.Sets the attacks information in the bipolar reasoner response.Sets the email associated with the bipolar reasoner response.Gets the answer provided by the bipolar reasoner response.Gets the attacks information in the bipolar reasoner response.getEmail()Gets the email associated with the bipolar reasoner response.intGets the number of arguments in the bipolar reasoner response.getReply()Gets the reply message in the bipolar reasoner response.Gets the semantics specified in the bipolar reasoner response.Gets the solver specified in the bipolar reasoner response.Gets the status of the bipolar reasoner response.Gets the supports information in the bipolar reasoner response.doublegetTime()Gets the time taken for the bipolar reasoner operation (in seconds).Gets the unit time specified in the bipolar reasoner response.nr_of_arguments(int nr_of_arguments) Sets the number of arguments in the bipolar reasoner response.Sets the reply message in the bipolar reasoner response.Sets the semantics specified in the bipolar reasoner response.voidSets the answer provided by the bipolar reasoner response.voidsetAttacks(List<List<Integer>> attacks) Sets the attacks information in the bipolar reasoner response.voidSets the email associated with the bipolar reasoner response.voidsetNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the bipolar reasoner response.voidSets the reply message in the bipolar reasoner response.voidsetSemantics(String semantics) Sets the semantics specified in the bipolar reasoner response.voidSets the solver specified in the bipolar reasoner response.voidSets the status of the bipolar reasoner response.voidsetSupports(List<List<Integer>> supports) Sets the supports information in the bipolar reasoner response.voidsetTime(double time) Sets the time taken for the bipolar reasoner operation (in seconds).voidsetUnit_time(String unit_time) Sets the unit time specified in the bipolar reasoner response.Sets the solver specified in the bipolar reasoner response.Sets the status of the bipolar reasoner response.time(int time) Sets the time taken for the bipolar reasoner operation (in seconds).toString()
-
Constructor Details
-
BipolarReasonerResponse
public BipolarReasonerResponse()Default constructor for BipolarReasonerResponse. -
BipolarReasonerResponse
public BipolarReasonerResponse(String reply, String email, int nr_of_arguments, List<List<Integer>> attacks, List<List<Integer>> supports, String semantics, String solver, String answer, double time, String unit_time, String status) Creates a bipolar reasoner response.- Parameters:
reply- the reply messageemail- the email associated with the responsenr_of_arguments- the number of argumentsattacks- the attacks informationsupports- the supports 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 bipolar reasoner response.- Returns:
- The reply message in the bipolar reasoner response.
-
setReply
Sets the reply message in the bipolar reasoner response.- Parameters:
reply- The reply message in the bipolar reasoner response.
-
getEmail
Gets the email associated with the bipolar reasoner response.- Returns:
- The email associated with the bipolar reasoner response.
-
setEmail
Sets the email associated with the bipolar reasoner response.- Parameters:
email- The email associated with the bipolar reasoner response.
-
getNr_of_arguments
public int getNr_of_arguments()Gets the number of arguments in the bipolar reasoner response.- Returns:
- The number of arguments in the bipolar reasoner response.
-
setNr_of_arguments
public void setNr_of_arguments(int nr_of_arguments) Sets the number of arguments in the bipolar reasoner response.- Parameters:
nr_of_arguments- The number of arguments in the bipolar reasoner response.
-
getAttacks
Gets the attacks information in the bipolar reasoner response.- Returns:
- The attacks information in the bipolar reasoner response.
-
setAttacks
Sets the attacks information in the bipolar reasoner response.- Parameters:
attacks- The attacks information in the bipolar reasoner response.
-
getSupports
Gets the supports information in the bipolar reasoner response.- Returns:
- The supports information in the bipolar reasoner response.
-
setSupports
Sets the supports information in the bipolar reasoner response.- Parameters:
supports- The supports information in the bipolar reasoner response.
-
getSemantics
Gets the semantics specified in the bipolar reasoner response.- Returns:
- The semantics specified in the bipolar reasoner response.
-
setSemantics
Sets the semantics specified in the bipolar reasoner response.- Parameters:
semantics- The semantics specified in the bipolar reasoner response.
-
getSolver
Gets the solver specified in the bipolar reasoner response.- Returns:
- The solver specified in the bipolar reasoner response.
-
setSolver
Sets the solver specified in the bipolar reasoner response.- Parameters:
solver- The solver specified in the bipolar reasoner response.
-
getAnswer
Gets the answer provided by the bipolar reasoner response.- Returns:
- The answer provided by the bipolar reasoner response.
-
setAnswer
Sets the answer provided by the bipolar reasoner response.- Parameters:
answer- The answer provided by the bipolar reasoner response.
-
getTime
public double getTime()Gets the time taken for the bipolar reasoner operation (in seconds).- Returns:
- The time taken for the bipolar reasoner operation (in seconds).
-
setTime
public void setTime(double time) Sets the time taken for the bipolar reasoner operation (in seconds).- Parameters:
time- The time taken for the bipolar reasoner operation (in seconds).
-
getUnit_time
Gets the unit time specified in the bipolar reasoner response.- Returns:
- The unit time specified in the bipolar reasoner response.
-
setUnit_time
Sets the unit time specified in the bipolar reasoner response.- Parameters:
unit_time- The unit time specified in the bipolar reasoner response.
-
getStatus
Gets the status of the bipolar reasoner response.- Returns:
- The status of the bipolar reasoner response.
-
setStatus
Sets the status of the bipolar reasoner response.- Parameters:
status- The status of the bipolar reasoner response.
-
reply
Sets the reply message in the bipolar reasoner response.- Parameters:
reply- The reply message in the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
email
Sets the email associated with the bipolar reasoner response.- Parameters:
email- The email associated with the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
nr_of_arguments
Sets the number of arguments in the bipolar reasoner response.- Parameters:
nr_of_arguments- The number of arguments in the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
attacks
Sets the attacks information in the bipolar reasoner response.- Parameters:
attacks- The attacks information in the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
semantics
Sets the semantics specified in the bipolar reasoner response.- Parameters:
semantics- The semantics specified in the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
solver
Sets the solver specified in the bipolar reasoner response.- Parameters:
solver- The solver specified in the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
answer
Sets the answer provided by the bipolar reasoner response.- Parameters:
answer- The answer provided by the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
time
Sets the time taken for the bipolar reasoner operation (in seconds).- Parameters:
time- The time taken for the bipolar reasoner operation (in seconds).- Returns:
- The current instance of BipolarReasonerResponse.
-
status
Sets the status of the bipolar reasoner response.- Parameters:
status- The status of the bipolar reasoner response.- Returns:
- The current instance of BipolarReasonerResponse.
-
toString
-