Skip to content

Commit 4ff2ea7

Browse files
author
“jklein94”
committed
Added missing javadoc EAFAgreementReasoner.java
1 parent a6e7b63 commit 4ff2ea7

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

org-tweetyproject-arg-eaf/src/main/java/org/tweetyproject/arg/eaf/reasoner/EAFAgreementReasoner.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -111,7 +111,7 @@ public boolean changeEAF(EpistemicArgumentationFramework oldEAF, EpistemicArgume
111111
* Replace an EAF with a given constraint. This is akin to a believe change. If there are multiple EAFs with the same
112112
* constraint as oldConstraint, the first EAF that is found with this constraint is replaced by a new EAF with newConstraint.
113113
* @param oldConstraint the constraint of the existing EAF to be replaced
114-
*
114+
*@param newConstraint the constraint of the new EAF to replace the old one
115115
* @return true if replacement was successful, false otherwise
116116
* @throws Exception if the underlying AF doesn't match
117117
*/
@@ -182,6 +182,7 @@ public List<EpistemicArgumentationFramework> getEAFs() {
182182
* @param mode credulous or skeptical mode
183183
* @param sem the semantics to use
184184
* @throws IllegalArgumentException if the query format is invalid or if an argument in the query is not found in the labeling
185+
* @return boolean indicating whether all EAFs agree on the query
185186
*/
186187
public Boolean query(String queryNode, InferenceMode mode, Semantics sem){
187188
if (mode == InferenceMode.CREDULOUS) {

0 commit comments

Comments
 (0)