mirror of
https://github.com/pgpainless/pgpainless.git
synced 2024-11-17 18:02:05 +01:00
More documentation
This commit is contained in:
parent
1483ff9e24
commit
bbd94c6c9a
1 changed files with 3 additions and 3 deletions
|
@ -14,9 +14,9 @@ public class Trustworthiness {
|
||||||
private final int amount;
|
private final int amount;
|
||||||
private final int depth;
|
private final int depth;
|
||||||
|
|
||||||
public static final int THRESHOLD_FULLY_CONVINCED = 120;
|
public static final int THRESHOLD_FULLY_CONVINCED = 120; // greater or equal is fully trusted
|
||||||
public static final int MARGINALLY_CONVINCED = 60;
|
public static final int MARGINALLY_CONVINCED = 60; // default value for marginally convinced
|
||||||
public static final int NOT_TRUSTED = 0;
|
public static final int NOT_TRUSTED = 0; // 0 is not trusted
|
||||||
|
|
||||||
public Trustworthiness(int amount, int depth) {
|
public Trustworthiness(int amount, int depth) {
|
||||||
this.amount = capAmount(amount);
|
this.amount = capAmount(amount);
|
||||||
|
|
Loading…
Reference in a new issue