From bbd94c6c9abb4adb842967ccb5ae4e7bc8943b30 Mon Sep 17 00:00:00 2001 From: Paul Schaub Date: Thu, 12 May 2022 16:26:57 +0200 Subject: [PATCH] More documentation --- .../main/java/org/pgpainless/algorithm/Trustworthiness.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/pgpainless-core/src/main/java/org/pgpainless/algorithm/Trustworthiness.java b/pgpainless-core/src/main/java/org/pgpainless/algorithm/Trustworthiness.java index 8d62f967..26e66e9c 100644 --- a/pgpainless-core/src/main/java/org/pgpainless/algorithm/Trustworthiness.java +++ b/pgpainless-core/src/main/java/org/pgpainless/algorithm/Trustworthiness.java @@ -14,9 +14,9 @@ public class Trustworthiness { private final int amount; private final int depth; - public static final int THRESHOLD_FULLY_CONVINCED = 120; - public static final int MARGINALLY_CONVINCED = 60; - public static final int NOT_TRUSTED = 0; + public static final int THRESHOLD_FULLY_CONVINCED = 120; // greater or equal is fully trusted + public static final int MARGINALLY_CONVINCED = 60; // default value for marginally convinced + public static final int NOT_TRUSTED = 0; // 0 is not trusted public Trustworthiness(int amount, int depth) { this.amount = capAmount(amount);