Skip to content

Commit 8c303ad

Browse files
author
Chipo Hamayobe
committed
Updated comments
1 parent 7614535 commit 8c303ad

3 files changed

Lines changed: 11 additions & 5 deletions

File tree

src/main/java/uct/cs/klm/algorithms/services/EvaluationService.java

Lines changed: 8 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,15 @@
77
import java.io.IOException;
88
import java.io.InputStream;
99
import java.util.AbstractMap.SimpleEntry;
10-
import java.util.List;
11-
import uct.cs.klm.algorithms.enums.ReasonerType;
1210

11+
12+
/**
13+
* This interface represents a evaluation service for a given query.
14+
*
15+
* @author Chipo Hamayobe (chipo@cs.uct.ac.za)
16+
* @version 1.0.1
17+
* @since 2024-01-01
18+
*/
1319
public interface EvaluationService {
1420
EvaluationModel evaluate(EvaluationQuery query);
1521
SimpleEntry<String, String> exportEvaluation(EvaluationModel model) throws JsonProcessingException;

src/main/java/uct/cs/klm/algorithms/services/EvaluationServiceImpl.java

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,6 @@
55
import com.fasterxml.jackson.databind.ObjectWriter;
66
import io.javalin.json.JavalinJackson;
77
import org.tweetyproject.logics.pl.syntax.PlFormula;
8-
import uct.cs.klm.algorithms.benchmarks.JmhRunner;
98
import uct.cs.klm.algorithms.enums.Algorithm;
109
import uct.cs.klm.algorithms.enums.InferenceOperator;
1110
import uct.cs.klm.algorithms.enums.ReasonerType;

src/main/web/src/components/main-tabs/common/explanations.tsx

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -224,13 +224,14 @@ function RelevancePartitionCheck({
224224
</p>
225225

226226
<ul className="list-disc list-inside">
227-
<li>The <strong>relevant</strong> set of statements, <Formula formula="\mathcal{R}^{+}" />, are shown below, grouped by rank:</li>
228-
{type == EntailmentType.BasicRelevantClosure ? (
227+
{type == EntailmentType.BasicRelevantClosure ? (
229228
<li> This is the union of statements in all justification sets above, minus those assigned to <Formula formula="\mathcal{R}_{\infty}" />.</li>
230229
) : (
231230

232231
<li> For each justification set above, we pick only the statements in the lowest rank, minus those assigned to <Formula formula="\mathcal{R}_{\infty}" />. <Formula formula="\mathcal{R}^{+}" /> is the union of these statements.</li>
233232
)}
233+
<li>The <strong>relevant</strong> set of statements, <Formula formula="\mathcal{R}^{+}" />, are shown below, grouped by rank:</li>
234+
234235
</ul>
235236
<RankingTableWithout
236237
ranking={relevantRanking}

0 commit comments

Comments
 (0)