More documentation

This commit is contained in:
Paul Schaub 2022-05-12 16:26:57 +02:00
parent 1483ff9e24
commit bbd94c6c9a
1 changed files with 3 additions and 3 deletions

View File

@ -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);