class CapacityCalculator
extends java.lang.Object
修飾子とタイプ | フィールド | 説明 |
---|---|---|
(package private) static long |
GROWTH_FACTOR |
used to adjust each period so that we keep trying to expand the peer's capacity
|
static java.lang.String |
PROP_COUNTRY_BONUS |
コンストラクタ | 説明 |
---|---|
CapacityCalculator() |
修飾子とタイプ | メソッド | 説明 |
---|---|---|
static double |
calc(PeerProfile profile) |
public static final java.lang.String PROP_COUNTRY_BONUS
static final long GROWTH_FACTOR
public static double calc(PeerProfile profile)